limitation of apache logformat on free version

jackc

Active Member
#1
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?
 

NiteWave

Administrator
#6
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.
 
Top