Opened 13 years ago

Closed 7 years ago

#718 closed defect (fixed)

Logrotate not configured correctly

Reported by: wildintellect Owned by: sac@…
Priority: major Milestone:
Component: SysAdmin Keywords: logs logrotate awstats
Cc:

Description

Possibly a relic of old configurations most but not all vhosts on the projects vm (and likely all our other machines) use _log for their apache log file name.

The problem is that in Debian based distros Logrotate is only configured to look for *.log. So we now have multi GB log files filling our machines that have not been rotated and compressed.

On Projects I temporarily add *_log and have started a forced rotate (using nice -n 19).

I would like feedback on if we should just add that configuration to all the machines or if we should clean out _log and replace with .log in the vhost files (and rename the existings logs).

I'm not going to touch the awstats ticket until we resolve this.

Change History (4)

comment:1 by neteler, 13 years ago

I don't know which solution is more "standard" but just no log should get lost (and disk space is there). Thanks for the cleanup and standardization.

comment:2 by wildintellect, 13 years ago

I've left it for now, we do need to address that only 52 weeks will be kept with the current logrotate cycling. Will come back to that part in a few weeks.

comment:3 by strk, 8 years ago

Alex: "few weeks" have passed (5 years:) any news on the topic ? Anything to do ?

in reply to:  3 comment:4 by jef, 7 years ago

Resolution: fixed
Status: newclosed

Replying to strk:

Alex: "few weeks" have passed (5 years:) any news on the topic ? Anything to do ?

guess not.

Note: See TracTickets for help on using tickets.