[Samba] 2.2.6pre2 (and previous?) "tiny bug" with "log file" attribute

Gerald Carter jerry at samba.org
Mon Sep 30 13:49:00 GMT 2002


On Wed, 25 Sep 2002, Pierre Belanger wrote:

> Hi,
> 
> I never thought I would need to change the default log
> file path, but I had and found a bug.
> 
> When changing my default "log file" from
> 
>   /usr/local/samba/var/log.%m
> 
> to
> 
>   /usr/local/samba/var/log/log.%m
> 
> there are always files created in the "default compiled"
> log directory /usr/local/samba/var when nmbd and smbd
> start.

This has to be the case for log messages written before the log file 
parameter is parsed.  If you want top override from the start, use the -l 
command line parameter.




cheers, jerry
 ---------------------------------------------------------------------
 Hewlett-Packard                                     http://www.hp.com
 SAMBA Team                                       http://www.samba.org
 --                                            http://www.plainjoe.org
 "Sams Teach Yourself Samba in 24 Hours" 2ed.       ISBN 0-672-32269-2
 --"I never saved anything for the swim back." Ethan Hawk in Gattaca--




More information about the samba mailing list