Skip navigation

Lion: newsyslog.conf

607 Views 2 Replies Latest reply: May 4, 2012 2:58 AM by prontosystems RSS
prontosystems Level 1 Level 1 (40 points)
Currently Being Moderated
May 4, 2012 12:43 AM

Hi Community,

 

because Microsoft Entourage is flooding my system.log I took a closer look to the log rotate mechanism and figured out that the behavior of the system.log doesn't fit to the settings of the configuration file /etc/newsyslog.conf. It should rotate each night at 00:00 but in /var/log I can see only one file since a few days and it's growing and growing and growing.

 

/var/log/system.log                 640  7 *

@T00  J

 

The cause of this flooding seams to be a Microsoft bug because plenty of Lion users with Entourage or Outlook, who are connected to an Exchange server have this behavior, so currently I'm not able to fix the cause, so I've to monitor the effects. Is there an explanation of this log rotate behavior? Do I misunderstood the entries in the config file newsyslog.conf?

 

I took my knowledge of the settings in newsyslog.conf from this site:

 

http://resin.csoft.net/cgi-bin/man.cgi?sektion=5&topic=newsyslog.conf

 

Especially from this section:

 

 

Some examples: $D0     rotate every night at midnight (same as @T00)

 

Thanks & Bye Tom

  • Mark Jalbert Level 5 Level 5 (4,385 points)
    Currently Being Moderated
    May 4, 2012 2:07 AM (in response to prontosystems)

    "Is there an explanation of this log rotate behavior?"

     

    If your computer is sleeping then the log will not rotate. Since you are concerned with the size of the log file then rotate the log by size

     

    /var/log/system.log          640     7     1000     *     J

     

    You might consider a size larger than 1000. You dont want to have the log being rotated several times a day.

Actions

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.