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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > New logging method for cPanel 11.25

Reply
 
Thread Tools Display Modes
  #1  
Old 01-25-2010, 06:22 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
Default New logging method for cPanel 11.25

Hello Guys,

Over in the cPanel forum they just posted this thread: http://forums.cpanel.net/f5/cpanel-1...ng-145417.html This item in section 2 has me particularly nervous:

Quote:
To account for the Apache behavior, and to retain the data integrity of the domain and bytes logs, a new method for Apache to log information is being introduced. Rather than logging directly to files, Apache will log directly to a pipe. Both virtual host data, as well as the service level access data, will be written to the pipe. This feature is only available to servers using Apache 2.0 or 2.2.
Is LSWS (both version 3.x and 4.x) going to be able to deal with the pipe based log files? I don't have a real 'warm fuzzy' about this one
Reply With Quote
  #2  
Old 01-25-2010, 06:53 PM
Tony Tony is offline
Senior Member
 
Join Date: Dec 2008
Posts: 133
lsws does support piped logging so I assume it should work fine. Going to test it though once it is actually part of 11.25.
__________________
Hawk Host
Frog Host
Reply With Quote
  #3  
Old 01-26-2010, 08:29 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
Any 'official' word on this (testing etc.). The new logging method is in Edge right now.
Reply With Quote
  #4  
Old 01-28-2010, 01:04 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
Other hosting control panels like Plesk uses piped logger, it works well with LiteSpeed, so I think it will work well.
We have update our cPanel to Edge, but it does not use piped logger. If you know how to enable it, please let us know.
Reply With Quote
  #5  
Old 01-28-2010, 02:23 PM
Tony Tony is offline
Senior Member
 
Join Date: Dec 2008
Posts: 133
Quote:
Originally Posted by mistwang View Post
Other hosting control panels like Plesk uses piped logger, it works well with LiteSpeed, so I think it will work well.
We have update our cPanel to Edge, but it does not use piped logger. If you know how to enable it, please let us know.
They say it's in builds later than 42552 according to http://forums.cpanel.net/f5/cpanel-1...ng-145417.html and when you run the update it rebuilds the httpd.conf. Might want to try running /scripts/rebuildhttpdconf and see if it then adds the piped logging. My only other guess is it won't turn on unless it's apache 2 or 2.2 is what cPanel is set to having on.
__________________
Hawk Host
Frog Host
Reply With Quote
  #6  
Old 01-28-2010, 05:32 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
I got 42994 with the EDGE, tried rebuild httpd.conf, apache 2.2 is used, no piped logger in httpd.conf. Go back to RELEASE see what happen.
Reply With Quote
  #7  
Old 01-28-2010, 05:36 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
We just switched our testing VPS to edge and it's running the file based logging also. We're on Apache 2.2.14. I posted on the cPanel forum for 'clarification'
Reply With Quote
  #8  
Old 01-28-2010, 06:30 PM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
OK, they just posted in the cPanel forum (I missed it before). You have to open a support ticket to get the new piped logging. They only want 'real word, production enviroments' (Yea, we're going t run edge in production).

Having said that this sounds even worse:

[quote]
When the piped logging method is enabled Apache will pipe logs to a common target process, a program started by Apache that is listening on the pipe; the receiving process will then automatically split the logs into their expected per-domain version.
[quote]

Assuming I understand this correctly, Apache will be writing all logs to a pipe. This new daemon/process will then read the pipe and split the logs into the individual sites log files. Since the program to read the pipe is 'started by Apache' and we're not running Apache this does not sound good.
Reply With Quote
  #9  
Old 01-29-2010, 09:05 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
That's what a piped logger exactly does, it is fully supported.
Reply With Quote
  #10  
Old 01-29-2010, 09:15 AM
ffeingol ffeingol is offline
Senior Member
 
Join Date: Jul 2007
Location: /dev/null
Posts: 290
@mistwang,

Ok, I'm gland that I understand it correctly and it is support. My real question (and I don't know that anyone has the answer yet) is how does the 2nd process (the one that reads the pipe and splits the files) get started. From the cPanel post it's started by Apache, so the question is if we're not running Apache (because we've go to 4.x) what will start up the 2nd process?
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 01:52 AM.



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