Multiple Log Files for each machine
Giulio Orsero
giulioo at pobox.com
Tue Sep 26 18:04:05 GMT 2000
On Tue, 26 Sep 2000 12:42:20 -0400, you wrote:
>I have samba 2.0.7 on rh6.2 (the rpm version)
>It's configured to keep logs for each machine 'log.%m'
>What i have for each machine in /var/log/samba is this:
>log.dh68
>log.dh68.1
>log.dh68.1.1
>log.dh68.1.1.1
>log.dh68.1.1.1.1
This is a RedHat problem, not samba's.
RedHat added a custom logrotate script to handle the "log.%m" logging
format it uses in the smb.conf.
Look at /etc/logrotate.d/samba
If the 1st line is
/var/log/samba/* {
try changing it to be
/var/log/samba/*.log {
--
giulioo at pobox.com
More information about the samba
mailing list