PDA

View Full Version : error log not logging


spectre73
04-09-2007, 12:12 AM
my error log in my DEFAULT virtual host is not logging at all in the error.log file even if i specify to use the main server error.log file and this is doing this in version 2.2.6 and 3.0.1 .....the access.log works fine.....weird!!!!

mistwang
04-09-2007, 08:23 AM
Please check the log level, maybe there is nothing to log.
If you select to use the main server error.log, it will not log to the vhost error log.

spectre73
04-09-2007, 03:39 PM
Please check the log level, maybe there is nothing to log.
If you select to use the main server error.log, it will not log to the vhost error log.

I tried error level and debug level and tried to go to an unexisting web page on my server to make a 404 error and it logged it in the access.log but not in the error.log ether when i choose the vhost error log or the main server error log......if i activate the debug level do you think it will tell me what's wrong and if yes it will be in wich log file ?

mistwang
04-09-2007, 03:50 PM
Try setting "Debug Level" to "HIGH" under "server"->"log" tab.
It should log to both the server error log and vhost error log.

spectre73
04-09-2007, 05:07 PM
Try setting "Debug Level" to "HIGH" under "server"->"log" tab.
It should log to both the server error log and vhost error log.

It does not work....even in debug mode it does not log anything anywhere....

mistwang
04-09-2007, 05:36 PM
You need to set "Log Level" for both server and vhost to "DEBUG".

spectre73
04-09-2007, 09:47 PM
You need to set "Log Level" for both server and vhost to "DEBUG".

Now i get this:

2007-04-10 00:14:20.882 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:14:25.886 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:14:30.890 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:14:35.894 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:14:40.898 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:14:45.903 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:14:50.907 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:14:55.911 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:15:00.915 DEBUG Failed to execute 'mpstat' command: No such file or directory
2007-04-10 00:15:05.920 DEBUG Failed to execute 'mpstat' command: No such file or directory

spectre73
04-09-2007, 10:01 PM
Well it works only in debug mode when i put it back at error level it does not log anything in the error.log file....i also tried reinstalling in another folder and it does the same thing....

mistwang
04-10-2007, 07:55 AM
Well it works only in debug mode when i put it back at error level it does not log anything in the error.log file....i also tried reinstalling in another folder and it does the same thing....
That's normal, because there is nothing to log at error level, no error. :)

spectre73
04-10-2007, 09:22 PM
Does an error 404 count as an error level error ? It is the case in apache....


That's normal, because there is nothing to log at error level, no error. :)

mistwang
04-11-2007, 08:08 AM
Does an error 404 count as an error level error ? It is the case in apache....
Not an error level message in LSWS.

spectre73
04-11-2007, 09:27 PM
Not an error level message in LSWS.

How can i make an error 404 appear in my error.log file ? wich level do i have to choose ?

mistwang
04-12-2007, 08:59 AM
Better use access log for this purpose, or turn on awstats integration.
404 message is at "INFO" or "DEBUG" level.