Log File Viewer does not show Apache logs

Asked by Roger Bailey on 2011-10-30

The Log File Viewer application appears to show all logs in /var/log except those in the apache2 directory.

I can tail /var/log/apache2/error.log happily without having to sudo so why does it not appear in the side panel of Log File Viewer?

Question information

English Edit question
Ubuntu gnome-utils Edit question
No assignee Edit question
Solved by:
Last query:
Last reply:
Best Jacobsallan (jacobsallan) said : #1

Log File Viewer remembers what it has seen before. Use the File > Open... dialog to open up the logs in the Apache2 directory. Then exit from the program. Then start up Log File Viewer again. The Apache2 log will still have an entry in the side panel.

Log File Viewer forgets those entries you manually remove. Click on the log you do not want to monitor any longer. Use the File > Close menu option and then shut down the program. Start up Log File Viewer again. The log will no longer appear in the side panel.

I cannot answer as to why Apache2 logs are not visible automatically. But, this does not seem to matter much as they can be added later.

Roger Bailey (9v-roger-42) said : #2

Thanks Jacobsallan. Obvious really, I should have worked it out for myself.

Roger Bailey (9v-roger-42) said : #3

Thanks Jacobsallan, that solved my question.