[Samba] log rotation in samba
Felipe Augusto van de Wiel
felipe at paranacidade.org.br
Fri Sep 21 15:46:22 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Tomasz Chmielewski wrote, On 21-09-2007 11:10:
> Melanie Pfefer schrieb:
>> Could you please share how you used logadm/logrotate
>> to rotate samba logs?
>
> Hmm, doesn't Samba rotate the logs by itself? I.e.:
>
> log level = 3
> syslog = 0
> log file = /var/log/samba/log.%m
> max log size = 5000
AFAIK, no. This only tells samba how much information to
keep in each file and how detailed they are. If you want to have
history, you need to rotate it using something like logrotate.
Kind regards,
- --
Felipe Augusto van de Wiel <felipe at paranacidade.org.br>
Coordenadoria de Tecnologia da Informação (CTI) - SEDU/PARANACIDADE
http://www.paranacidade.org.br/ Phone: (+55 41 3350 3300)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFG8+dNCj65ZxU4gPQRCK/LAJ9Yy7acWPrLshH/DU104uz31j7jeACeJV4K
77vSctYnY48GC84NHhjV+WE=
=s8aW
-----END PGP SIGNATURE-----
More information about the samba
mailing list