LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Bug Reports > lsws does not use the error log

Reply
 
Thread Tools Display Modes
  #1  
Old 02-10-2005, 08:21 AM
SyNeo SyNeo is offline
Senior Member
 
Join Date: Dec 2004
Posts: 59
Default lsws does not use the error log

Hello.

I'm interested to see which pages are not located by my visiters (error 404), but I have discovered that lsws does not use the error.log at all. The file always left at 0 size, and no errors are logged to the file. I have checked the settings, and I have the following options:

<log>
<useServer>0</useServer>
<fileName>$VH_ROOT/logs/error.log</fileName>
<logLevel>WARN</logLevel>
<rollingSize>10M</rollingSize>
</log>


Any idea why the log file stays empty?

Thank you.
Reply With Quote
  #2  
Old 02-10-2005, 05:00 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
logLevel should be set to "info".
Also, if you use awstats, all urls result in 404 are listed there, should be easier to locate them. :-)

George
Reply With Quote
  #3  
Old 02-13-2005, 08:10 AM
SyNeo SyNeo is offline
Senior Member
 
Join Date: Dec 2004
Posts: 59
Hello.

Should the error log be set to INFO on a sever side level, or the virtual site level? I have it set to INFO on the virtual site level, but it doesn't log any error.

Also, I have several custom error pages defined, including the 404 error. Can it affect somehow the error log? Worth to say, that this site worked well on Apache2, but I have achieved the custom error pages effect there via the .htaccess file, and here I had to define them in the control panel.
Reply With Quote
  #4  
Old 02-14-2005, 07:22 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Missing files are not logged into error log under INFO level either, we thought it could fill up your disk quickly under high load. Sorry about the inaccurate information in last post. So, you have to look into the access log. :-)

Directory level error page configuration is not available yet in LSWS and the directives in .htaccess are ignored, so you have to set it at virtual host level now. We may make it available at directory level and support those directives in .htaccess in the future. Customized error page has no effect on error logging.

Best Regards,
George Wang
Reply With Quote
  #5  
Old 07-26-2005, 09:22 PM
ktippetts ktippetts is offline
New Member
 
Join Date: Jul 2005
Posts: 3
This may or may not be a bug, but seems to me like unexpected behavior.

Each one of my vhosts has a "logs" directory under the vhost document root. However if there is an error in a php script, it gets logged to the server root log directory in stderr.log. Is this something that needs to be configured on a per vhost basis?

BTW, the access log works as expected and configured, by logging under the vhost document root "logs" directory
Reply With Quote
  #6  
Old 07-27-2005, 08:00 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
yes, there is only one global stderr log file, we may add per virtual host stderr log in the future.

If you are using FCGI with the latest PHP release, all stderr output by PHP process will be logged into the error log. Our Litespeed SAPI still log into the global stderr.log
Reply With Quote
  #7  
Old 08-04-2005, 03:19 AM
valar2006 valar2006 is offline
New Member
 
Join Date: Jul 2005
Posts: 2
good, very good!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LSWS 2.0RC6 + Tomcat tomcatter Java JSP/Servlet 4 11-12-2009 11:31 AM
LSWS 3.0RC2 and trac-fcgi Erg CGI/Perl/Python 13 02-06-2009 12:16 PM
Not to stop FCGI apps while reloading LSWS Roman2K Feedback/Feature Requests 4 10-12-2005 01:21 PM
LSWS killed my pet squirrel!!! DNSFusion Bug Reports 1 07-24-2004 08:01 PM
Testimonial : LSWS as web app frontend instead of Apache bogus Feedback/Feature Requests 1 03-26-2004 10:32 AM


All times are GMT -7. The time now is 06:02 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.