agusmakmun / django-log-viewer

Django Log Viewer allows you to read & download log files in the admin page
https://pypi.org/project/django-log-viewer/
MIT License
74 stars 30 forks source link

Log entries need format with new lines and indentation #25

Open alexxbetancourt opened 3 years ago

alexxbetancourt commented 3 years ago

My error logs usually comes with a stacktrace text, the logfile already has a formatted text with spaces, new lines and indentation, but when I see it in the log viewer, the format is gone and all the text is in the same line.

Here is an example of the formatted text in logfile image

Here is how it is shown in the log viewer image