[Samba] log level and testparm lies

Andrew Bartlett abartlet at samba.org
Wed May 8 23:35:32 MDT 2013


On Thu, 2013-05-09 at 03:22 +0200, Thomas Bork wrote:
> Am 08.05.2013 11:18, schrieb Karolin Seeger:
> 
> > Major enhancements in Samba 3.6.15 include:
> 
> How is the 'log level' in 3.6.15 defined?

> But now:
> referencetest26 # testparm -vs 2>/dev/null | grep 'log level'
>          log level = 2
> referencetest26 # grep 'log level' /etc/smb.conf
> referencetest26 # grep 'debug level' /etc/smb.conf
>   debug level = 0
> referencetest26 # grep 'debuglevel' /etc/smb.conf
> referencetest26 #
> 
> 2 != 0
> 
> Here is my question:
> Where is 'log level = 2' defined? Not in my smb.conf...
> Can somebody shed some light on this?

The issue is that testparm forces the log level to ensure the warnings
are output. 

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org




More information about the samba mailing list