Bug 1987 - cannot set nmbd/smbd log file name with -l
Summary: cannot set nmbd/smbd log file name with -l
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.7
Hardware: x86 Linux
: P3 normal
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-02 09:10 UTC by Joe Buehler
Modified: 2004-11-11 13:09 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Buehler 2004-11-02 09:11:00 UTC
I used to be able to use the -l option in
Samba 2.0/2.2 to set the output log file name
to include the machine name -- I log many machines
to a single AFS directory.

This doesn't appear to work in Samba 3.  It looks
like the -l option is now just a directory and
there is no way for me to include the machine name
in the name of the log file.
Comment 1 Gerald (Jerry) Carter (dead mail address) 2004-11-11 13:09:02 UTC
correct.  The current behavior is by default.  However, you 
can use smb.conf variables in the 'log file' directive in smb.conf.
e,g, log file = /var/log/samba/%L.log