error log not logging

#1
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!!!!
 
Last edited:

mistwang

LiteSpeed Staff
#2
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.
 
#3
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

LiteSpeed Staff
#4
Try setting "Debug Level" to "HIGH" under "server"->"log" tab.
It should log to both the server error log and vhost error log.
 
#7
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
 
#8
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....
 
Last edited:

mistwang

LiteSpeed Staff
#9
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. :)
 
Top