access.log suddenly stopped logging

#1
hi,
my access.log now logs only 404's - no 200's or any other status code. Here is the <logging> section of my http_config.xml file:

<logging>
<log>
<fileName>$SERVER_ROOT/logs/error.log</fileName>
<logLevel>DEBUG</logLevel>
<debugLevel>0</debugLevel>
<rollingSize>10M</rollingSize>
<enableStderrLog>1</enableStderrLog>
</log>
<accessLog>
<fileName>/opt/lsws/logs/access.log</fileName>
<pipedLogger></pipedLogger>
<logHeaders>7</logHeaders>
<rollingSize>10M</rollingSize>
<keepDays>30</keepDays>
<compressArchive>0</compressArchive>
</accessLog>
</logging>

not sure where else to look to resolved this - crawled all kinds of forums, checked permissions, tried different paths, filenames for the access log, etc.

I am running LiteSpeed/2.2.6 Standard with Rails via LSAPI, multiple vhosts (24), on Red Hat ...

any ideas? help is greatly appreciated ...
 

mistwang

LiteSpeed Staff
#2
Is there a dedicate access log file for each vhost?
The server level access log will only log 404 requests does not belong to any vhost, unless vhosts are configured to log access to server log.
 
#3
thanks i will try that

thanks i will try that - i forgot to add that this suddenly started happening a few months ago after working fine for several months (had vhosts before and after)
 
#4
thanks, that worked!!

just had to go into the admin UI, click on my VHOST name, click "Edit" in the Access Log section, select "server's log file" from the log control drop down, and this created the needed section in my VHOST. on restart i got full logging for that vhost, now i will replicate 23 more times!

thanks so much for the timely reply on a saturday night!
 
Top