LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Feedback/Feature Requests (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=10)
-   -   New Log Level (http://www.litespeedtech.com/support/forum/showthread.php?t=3948)

Tony 04-13-2010 11:30 AM

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.

AndrewT 04-13-2010 08:45 PM

I fully agree.

anewday 04-13-2010 10:56 PM

Same here.

robfrew 04-15-2010 12:16 PM

Count me in on this!

mistwang 04-16-2010 02:48 PM

We will change log level for those log messages to DEBUG


All times are GMT -7. The time now is 12:22 PM.