Log Viewer not displaying Large Log Files in Firefox or Chrome Browser


(Reggie Ho) #1

Finding that Firefox or Chrome not able to view large log files when using Dashboard Log viewer… Works ok when reading log file with smaller file size.
i.e. the fail2ban log file size grew to 39,753,0881 ( 40MB ) , logviewer was not able to load this file.

If there a maximum file size limit that the Dashboard Logviewer can read or load ?

Thanks


(Giacomo Sanchietti) #2

AFAIK there is no such limit. Maybe a limit on the browser side?

Can you see the console log of the browser and search for any error?


(Reggie Ho) #3

Thnx for the reply…I’m using Ubuntu 16.04 and Firefox 54.0 … Looking at Firefox console error log … didn’t see any error log.


(Giacomo Sanchietti) #4

@davidep any idea on this?


(Davide Principi) #5

Can you see any error in /var/log/messages or /var/log/httpd-admin/error_log ?

BTW the Server Manager log viewer is poorly implemented and does not like big files… To inspect big log files the right tools are CLI-based: grep, less…


(Reggie Ho) #6

I check the /var/log/httpd-admin/error_log … the file is empty… There’s no error related to the log_viewer in /var/log/messages.
This used to work … only just recently I found it had problem reading…If the delete the large fail2ban file and restart the fail2ban service, I can view the log…when the file size is quite small.


(Aaron) #7

I have the same problem sometimes… but also no solution… :frowning: