const char *events;
} ctdb_cmdline = {
.torture = 0,
- .debuglevel = "ERR",
+ .debuglevel = "NOTICE",
};
enum {OPT_EVENTSYSTEM=1};
# CTDB_LOGFILE=/var/log/log.ctdb
# CTDB_SYSLOG=no
-# Default log level is ERR. NOTICE is a little more verbose.
-CTDB_DEBUGLEVEL=NOTICE
+# Default log level is NOTICE. Want less logging?
+# CTDB_DEBUGLEVEL=ERR
# Set some CTDB tunable variables during CTDB startup?
# CTDB_SET_TraverseTimeout=60
<varlistentry><term>-d --debug=<parameter>DEBUGLEVEL</parameter></term>
<listitem>
<para>
- Change the debug level for the command. Default is ERR (0).
+ Change the debug level for the command. Default is NOTICE (2).
</para>
</listitem>
</varlistentry>
<term>-d, --debug=<parameter>DEBUGLEVEL</parameter></term>
<listitem>
<para>
- This option sets the debug level to DEBUGLEVEL, which
- controls what will be written to the logfile. The default is
- 0 which will only log important events and errors. A larger
- number will provide additional logging.
+ This option sets the debug level to DEBUGLEVEL, which controls
+ what will be written to the logfile. The default is 2.
</para>
<para>
See the <citetitle>DEBUG LEVELS</citetitle> section in
<term>CTDB_DEBUGLEVEL=<parameter>DEBUGLEVEL</parameter></term>
<listitem>
<para>
- Default is ERR (0). Corresponds to <option>-d</option> or
+ Default is NOTICE (2). Corresponds to <option>-d</option> or
<option>--debug</option>.
</para>
</listitem>