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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > limitation of apache logformat on free version

Reply
 
Thread Tools Display Modes
  #1  
Old 03-13-2012, 11:56 PM
jackc jackc is offline
Member
 
Join Date: Apr 2007
Posts: 33
Default limitation of apache logformat on free version

We have a VPS client testing free version of lsws, lsws configuration is loaded from directadmin's apache configurations, he's reporting it seems the logformat directive is not loaded correctly for some reason. example

LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %O" common
LogFormat "%O %I" bytes

CustomLog /var/log/httpd/domains/photo.com.bytes bytes

instead of bytes format, lsws logged using combined format.
We are using enterprise version of lsws (not the latest) and don't see this problem. is this a limitation of the free version or it's a bug?
Reply With Quote
  #2  
Old 03-14-2012, 12:05 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
except log format, are the whole site working ?

the major limit for standard version running with control panel(e.g. directAdmin)
is
Max Virtual hosts from Apache httpd.conf : 5
http://www.litespeedtech.com/litespe...-editions.html
Reply With Quote
  #3  
Old 03-14-2012, 12:08 AM
jackc jackc is offline
Member
 
Join Date: Apr 2007
Posts: 33
Quote:
Originally Posted by NiteWave View Post
except log format, are the whole site working ?

the major limit for standard version running with control panel(e.g. directAdmin)
is
Max Virtual hosts from Apache httpd.conf : 5
http://www.litespeedtech.com/litespe...-editions.html
yes, the site works. I understand the vhost limitation, but is the logformat being limited as well?
Reply With Quote
  #4  
Old 03-14-2012, 12:11 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
should not --- but I'm not sure.
I'd leave this for our other staff to answer it.
Reply With Quote
  #5  
Old 03-14-2012, 10:35 PM
jackc jackc is offline
Member
 
Join Date: Apr 2007
Posts: 33
Looks like the logformat is hard coded in free version. changing it doesn't do anything either.
Reply With Quote
  #6  
Old 03-15-2012, 01:39 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
I did more tests, here's the result:

for standard version:
1.lsws native vhost's access log format is customizable

2. if vhost is read from apache's httpd.conf, log format is fixed(bug ? or for performance ?)
you can create 2nd log, but format is "combined", cutomized LogFormat is ignored. the 2nd log file is created there.

3. for enterprise edition, LogFormat from httpd.conf is working as expected.
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 12:26 PM.



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