Skip to Content.
Sympa Menu

en - AW: [sympa-users] logroate

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: Straub Herbert <address@concealed>
  • To: "'address@concealed'" <address@concealed>
  • Cc: "'address@concealed'" <address@concealed>
  • Subject: AW: [sympa-users] logroate
  • Date: Wed, 31 Oct 2001 10:19:06 +0100

Title: AW: [sympa-users] logroate

Yes, it seems, that you are right. I removed the line

                 /etc/init.d/sympa reload >/dev/null

and make

/usr/sbin/logrotate -f /etc/logrotate.conf

After this, the syslog and the sympa.log are new created and the transactiontime for this operartion is shorter. It seems, that this line is obsolet in the sympa debian package.

Regards
Herbert


-----Ursprüngliche Nachricht-----
Von: Olivier Salaun [mailto:address@concealed]
Gesendet: Mittwoch, 31. Oktober 2001 09:12
Cc: 'address@concealed'
Betreff: Re: [sympa-users] logroate


Hi

Since Sympa does its logging via syslogd, as far as I know, you don't
need a 'postrotate' entry that restarts Sympa.

Chris Lee wrote:
> How can I config sympa to support logrotate?

> Straub Herbert wrote:
>
> The debian sympa packet ships the file /etc/logrotate.d/sympa with the following contents:
>
> /var/log/sympa.log {
>         rotate 7
>         size=100k
>         compress
>         delaycompress
>         postrotate
>                 /etc/init.d/sympa reload >/dev/null
>                 /etc/init.d/sysklogd reload >/dev/null
>         endscript
> }

--
Olivier Salaün
Comité Réseau des Universités




Archive powered by MHonArc 2.6.19+.

Top of Page