View Full Version : Checking error_log files


Floris
7th February 2007, 02:31 AM
Here's a great tip, check your apache error_log files from the /var/log/httpd/ directory with: tail error_log and read out anything that perhaps requires your attention and fix it. Missing files? Old files getting requested a lot? Hack attempts? It's a great little resource that gets overlooked.

Go check it out and let me know if you found something that requires attention :bunny:

elmo
7th February 2007, 03:03 PM
Correction to the command.

tail -f error_log

With the -f switch, you can keep your terminal window open and see errors as they occur. Its also possible to keep track of more than one file at once.

Chroder
8th February 2007, 02:12 AM
Cool :) I usually don't check logs until something goes wrong :x

vbcorolla
13th February 2007, 07:04 AM
I get TONS of hack attempts every day. reading my error logs is almost a stroll through all the ridiculous scripts and hacks people try and fail.