[Samba] Need help with log creation

Ed Kasky ed at esson.net
Fri Apr 1 15:00:44 GMT 2005


For the life of me, I can not figure out why I keep getting 2 logs for 
each deamon.  

In smb.conf:
log file = /var/log/samba/%m.log

In smb init script:
CONFIG=/etc/samba/smb.conf

When I use the init script to start samba, it logs to log.*.  When 
the logs rotate however and they are restarted with 
"/bin/kill -HUP `cat /var/run/smbd.pid" etc., it logs as specified in the 
config file.  So I am left with log.smbd _and_ smbd.log depending on how 
they are started/restarted.

Is there a setting somewhere (probably obvious) that I am missing?

Running Samba 3.0.13 on RH 7.2
 
Thanks in advance for any hints as to what I am missing...

Ed
. . . . . . . . . . . . . . .
Randomly generated quote:
Whenever you fall, pick something up.
        --Oswald Avery



More information about the samba mailing list