what happened to log level?
Simo Sorce
idra at samba.org
Thu Aug 1 00:05:02 GMT 2002
Yes, sorry, that's my error.
the debug level changed to address the debug classes.
Now it is a string parameter not an integer anymore so that you can
specify different log levels for any subclass.
like all:2 passdb:5 rpc:10
In the transition I forgot to change swat.
It's in my todo list!
I'll do asap, meanwhile you can use smbcontrol, to change debugging
level at runtime.
Simo.
On Thu, 2002-08-01 at 07:23, Bradley W. Langhorst wrote:
> sorry part of that mail got lost.
> you must think i'm smoking crack...
>
> somehow the log level parameter has gotten lost in the HEAD
> from swat's option list. Thus any change in swat wipes out the logging.
>
> brad
>
> On Wed, 2002-07-31 at 22:36, Christopher R. Hertel wrote:
> > On Thu, Aug 01, 2002 at 11:37:30AM +0930, Richard Sharpe wrote:
> > > On Wed, 31 Jul 2002, Bradley W. Langhorst wrote:
> > >
> > > > NULL?
> > > > how do i set the logging level?
> > >
> > > Ummm, debug level = x
> > >
> > > or, log level = x
> >
> > ... in the smb.conf, *not* in the source.
> >
> > > > brad
> > > >
> > > > {"Logging Options", P_SEP, P_SEPARATOR},
> > > >
> > > > {"admin log", P_BOOL, P_GLOBAL, &Globals.bAdminLog, NULL, NULL, 0},
> > > > {"log level", P_STRING, P_GLOBAL, NULL, handle_debug_list, NULL, 0},
> > > > {"debuglevel", P_STRING, P_GLOBAL, NULL, handle_debug_list, NULL, 0},
> > > > {"syslog", P_INTEGER, P_GLOBAL, &Globals.syslog, NULL, NULL, 0},
> > > > {"syslog only", P_BOOL, P_GLOBAL, &Globals.bSyslogOnly, NULL, NULL, 0},
> > > > {"log file", P_STRING, P_GLOBAL, &Globals.szLogFile, NULL, NULL, 0},
> >
> > --
> > Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
> > jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
> > ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
> > OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
> >
> >
> >
>
>
>
--
Simo Sorce
----------
Una scelta di liberta': Software Libero.
A choice of freedom: Free Software.
http://www.softwarelibero.it
More information about the samba-technical
mailing list