fireantology / django-logtailer

Allows the viewing of any log file entries in real time directly from the Django admin interface. It allows you to filter on logs with regex and offer also a log clipboard for save desired log lines to the django db.
BSD 3-Clause "New" or "Revised" License
97 stars 30 forks source link

io.UnsupportedOperation: can't do nonzero end-relative seeks #9

Closed omarbenhamid closed 4 years ago

omarbenhamid commented 5 years ago

I have this issue when I activate history (when I set LOGTAILER_HISTORY_LINES to something not 0).

According to this post it could be because logtailer opens files in text mode. It should be fixed by adding "b" flag to the open() call so that log files are open in binary mode.

fireantology commented 4 years ago

Fixed in latest release 1.1