Issue #303 has been updated by Jonathan Clarke.
Clément Oudot wrote: > Jonathan Clarke wrote: > > Clément Oudot wrote: > > > Jonathan Clarke wrote: > > > > Clément Oudot wrote: > > > > > The debug level can be set with DEBUG_LEVEL in configuration file. > > > > > Default value is 256. > > > > > > > > 256 is "stats". May I suggest setting the default to "config" instead? > > > > IMO, this would be much more useful, as most problems I have starting > > > > slapd are a config problem (error in schema file, non accessible DB > > > > directory, etc). > > > > > > I think configuration problems are always displayed when you start > > > OpenLDAP with a debug level. I like to have the "stats" level as debug > > > level, to directly monitor operations on the directory. > > > > > > Maybe we could add another parameter in the command line for the debug > > > level? This can be another feature request. > > > > Or simply set the default value to "stats config" (or 384, in the > > deprecated decimal notation), that way we have both :) > > > > In most cases I've seen, the config errors are certainly *not* displayed > > (one exception is "File not found" errors for schema files). For example, I > > commented the line "moduleload back_hdb.so" and restarted OpenLDAP, to this > > effect: > > [...] > > But what if you comment the line and then launch service slapd debug, with > loglevel stats only? Ah, then the error is displayed. Such errors are sent to stderr, which presumably you use for the output, so we do see them :) Sorry - I wrongly assumed the output would be the same as the log file (via syslog), which doesn't display such errors. My bad! ---------------------------------------- Feature #303: service slapd debug http://tools.lsc-project.org/issues/303 Author: Clément Oudot Status: Closed Priority: Low Assigned to: Clément Oudot Category: OpenLDAP init script Target version: openldap-initscript-1.2 We could have a 'service slapd debug' which will stop slapd and start if with -d -1 option, so that we have the full debug in console output -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://tools.lsc-project.org/my/account
_______________________________________________ ltb-dev mailing list [email protected] http://lists.ltb-project.org/listinfo/ltb-dev
