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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Feedback/Feature Requests > New Log Level

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2010, 11:30 AM
Tony Tony is offline
Senior Member
 
Join Date: Dec 2008
Posts: 133
Lightbulb New Log Level

I think maybe should add a new log level that has what you'd expect on other web server while not including other things you wouldn't expect. Right now to get the sort of Apache logs you'd want on shared hosting you need to set it to INFO level. So in order to get this:



Code:
2010-04-13 13:24:56.183 [INFO] [1.2.3.4:58717-0#APVH_domain.com] File not found [/home/username/public_html/domain.com/robots.txt]
You also have to take on this portion of the info notices:

Code:
2010-04-13 13:24:57.104 [INFO] Remove pid: 29566
2010-04-13 13:24:57.104 [INFO] Pid: 29566 associated with [APVH_username_Suphp:]
2010-04-13 13:24:57.104 [INFO] ProcInfo Pid: -1, socket: /tmp/lshttpd/APVH_domain.com_Suphp.sock.316 
2010-04-13 13:24:57.104 [INFO] [APVH_username_Suphp:] pid list size: 0, pid stop list size: 0
2010-04-13 13:24:57.398 [INFO] Start listen socket [/tmp/lshttpd/APVH_domain.com_Suphp.sock.363].
2010-04-13 13:24:57.406 [INFO] [APVH_username_Suphp:] pid list size: 1 
2010-04-13 13:24:57.406 [INFO] [APVH_username_Suphp:] add child process pid: 29622

On high traffic sites and servers this fills the error_log file to 2GB in no time and it's mostly useless unless you're debugging an issue.

I imagine this might require some re-design of what is considered info, notice etc. but I think this would be beneficial to do in the long run.
__________________
Hawk Host
Frog Host
Reply With Quote
  #2  
Old 04-13-2010, 08:45 PM
AndrewT AndrewT is offline
Senior Member
 
Join Date: Jan 2010
Posts: 66
I fully agree.
Reply With Quote
  #3  
Old 04-13-2010, 10:56 PM
anewday anewday is offline
Senior Member
 
Join Date: Nov 2007
Location: New York
Posts: 723
Same here.
Reply With Quote
  #4  
Old 04-15-2010, 12:16 PM
robfrew robfrew is offline
Senior Member
 
Join Date: Dec 2007
Location: Salt Lake City UT
Posts: 151
Count me in on this!
Reply With Quote
  #5  
Old 04-16-2010, 02:48 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
We will change log level for those log messages to DEBUG
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


All times are GMT -7. The time now is 10:01 AM.



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