Koozali.org: home of the SME Server

Log rotation Problem

petero

Log rotation Problem
« on: May 09, 2007, 12:11:19 PM »
For a couple of months some of my logs haven't been rotating. The ones handled by logrotate are fine but those which should be handled by syslog aren't. (boot.log, cron, messages, etc).

Something is renaming the files and adding a date stamp to the end but they aren't being deleted, e.g. maillog.20070308011201. The symlink is also being updated to the file with the latest date stamp.

/var/log/maillog -> /var/log/maillog.20070509111958

I know very little about logfiles but it seems that compared to other systems the sysklogd file is missing from the /etc/cron.* folders. Should SME Server have these files?

I also read a post the SME Server uses multilog but I don't know how that fits in with everything else.

How do all these log programs fit together and what am I missing?

Thanks,

Peter

Offline Normando

  • *
  • 841
  • +2/-1
    • Unixlan
Log rotation Problem
« Reply #1 on: May 09, 2007, 02:48:07 PM »
Me too

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Log rotation Problem
« Reply #2 on: May 09, 2007, 04:08:14 PM »
Quote from: "petero"
For a couple of months some of my logs haven't been rotating.


Bug reports (only) to the Bug Tracker, please.

petero

Re: Log rotation problem
« Reply #3 on: May 10, 2007, 06:05:09 AM »
Sorry if this was the wrong place. I was first of all looking for an explanation of SME Server's logging system and to see if I had missed something obvious. I would like to understand the logging system.

I have posted a bug report.

Thanks,

Peter