[Samba] why both smbd.log and log.smbd?

David Mathog mathog at caltech.edu
Thu Sep 4 22:47:59 GMT 2008


Our smb.conf file contains:

        log file = /var/log/samba/%m.log

yet the /var/log/samba directory has all of these:

  smbd.log
  log.smbd
  nmbd.log
  log.nmbd

I verified that the %m.log forms are from the log file line by
temporarily changing it to foo_%m.log.  Using "lsof" I was able to see
that the log.%m forms are from the smbd and nbmd processes.  

Why are these other two forms, which do not respect the "log file"
setting, present?

Thanks,

David Mathog
mathog at caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech


More information about the samba mailing list