3.2.2 Ent changed logging settings, needs fixing

jrmarino

Well-Known Member
#1
Ever since I updated to 3.2.2 enterprise, my access logs are gone.

They used to show like this:
access.log.2007_09_05.23
access.log.2007_09_05.22
access.log.2007_09_05.21
access.log.2007_09_05.20

Now I all I have is this:
access.log
which seems to contain just very recent access items

The most important question is:
How can I make 3.2.2 log like it was before? I changed a config item and did a graceful restart, but it's still logging on one file.



The follow up question is: Why are these upgrades changing the configuration? This isn't the only example I have where a setting was changed after an upgrade.
 

jrmarino

Well-Known Member
#3
awstats is and was running as desired. It was not off.

I just want it to work like it was before I did the upgrade. That's the only thing I did. I did not have a cron job rotating the files, litespeed did this on its own.
 

jrmarino

Well-Known Member
#5
It already is set to hourly. It always has been. And yes, I just checked it again.

AWStats Integration

Update Mode: Dynamic
Working Directory: $VH_ROOT/awstats
Update Interval : Hourly
Update Offset (secs): 0
Secured Connection: No
 

jrmarino

Well-Known Member
#6
It appears that awstats is running, it does clear the access.log file hourly (I guess because it's always small) but it fails to move the previous access.log to a new file.
 

jrmarino

Well-Known Member
#8
All the files previously were created by "webservd"

The directory belongs to webservd (755)
the current log access.log belongs to webservd


Why would an upgrade change the litespeed user?

In any case, it doesn't appear to be a permissions thing.
 

jrmarino

Well-Known Member
#9
hold on, this looks like a false alarm.

The files are there. My SFTP program must not be showing all of them.

120 x 24 files must be too many for it -- they got truncated.
I see them now that I'm SSH'd into the server and looking at the directory directly.
 
Top