Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [Samba] [Announce] Samba 3.6.15 Available for Download

12 views
Skip to first unread message

Thomas Bork

unread,
May 8, 2013, 9:30:02 PM5/8/13
to
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?


From
http://www.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#LOGLEVEL

[...]
Default: log level = 0

And:
debuglevel

This parameter is a synonym for log level.


In 3.5.x I had in some scripts following definition:
debuglevel=`testparm -vs 2>/dev/null | grep 'log level =' | cut -d' ' -f4`


This was always the same as my own definition

debug level = x

in smb.conf in 3.5.x.


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?

--
der tom
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Andrew Bartlett

unread,
May 9, 2013, 1:40:01 AM5/9/13
to
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

Thomas Bork

unread,
May 9, 2013, 5:50:02 PM5/9/13
to
Am 09.05.2013 07:35, Andrew Bartlett wrote:

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

Thanks for the clarification.
Must be new, never had difficulties before with old samba versions.

--
der tom

Andrew Bartlett

unread,
May 9, 2013, 9:20:02 PM5/9/13
to
On Thu, 2013-05-09 at 23:41 +0200, Thomas Bork wrote:
> Am 09.05.2013 07:35, Andrew Bartlett wrote:
>
> > The issue is that testparm forces the log level to ensure the warnings
> > are output.
>
> Thanks for the clarification.
> Must be new, never had difficulties before with old samba versions.

Yeah, we restructured how debug was set, we had too many things that set
other things.

Andrew Bartlett

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


Dave Pawson

unread,
May 10, 2013, 2:00:01 AM5/10/13
to
On 10 May 2013 02:17, Andrew Bartlett <abar...@samba.org> wrote:
> On Thu, 2013-05-09 at 23:41 +0200, Thomas Bork wrote:
>> Am 09.05.2013 07:35, Andrew Bartlett wrote:
>>
>> > The issue is that testparm forces the log level to ensure the warnings
>> > are output.
>>
>> Thanks for the clarification.
>> Must be new, never had difficulties before with old samba versions.
>
> Yeah, we restructured how debug was set, we had too many things that set
> other things.
>
> Andrew Bartlett

Maybe relevant.
With max log size set to 50k
my nmb log is 3.4Mb

regards


--
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk
0 new messages