error log not logging

Discussion in 'Install/Configuration' started by spectre73, Apr 9, 2007.

  1. spectre73

    spectre73 New Member

    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: Apr 9, 2007
  2. mistwang

    mistwang LiteSpeed Staff

    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. spectre73

    spectre73 New Member

    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 ?
  4. mistwang

    mistwang LiteSpeed Staff

    Try setting "Debug Level" to "HIGH" under "server"->"log" tab.
    It should log to both the server error log and vhost error log.
  5. spectre73

    spectre73 New Member

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

    mistwang LiteSpeed Staff

    You need to set "Log Level" for both server and vhost to "DEBUG".
  7. spectre73

    spectre73 New Member

    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. spectre73

    spectre73 New Member

    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: Apr 10, 2007
  9. mistwang

    mistwang LiteSpeed Staff

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

    spectre73 New Member

    Does an error 404 count as an error level error ? It is the case in apache....


  11. mistwang

    mistwang LiteSpeed Staff

    Not an error level message in LSWS.
  12. spectre73

    spectre73 New Member

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

    mistwang LiteSpeed Staff

    Better use access log for this purpose, or turn on awstats integration.
    404 message is at "INFO" or "DEBUG" level.

Share This Page