From 1209c71f57c6bc566f194598d137e3619006888f Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Tue, 11 Dec 2012 01:24:35 -0600 Subject: doc: added docs about setting debug level --- doc/help/troubleshooting.txt | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/doc/help/troubleshooting.txt b/doc/help/troubleshooting.txt index 8a8d00970..35c1e93a2 100644 --- a/doc/help/troubleshooting.txt +++ b/doc/help/troubleshooting.txt @@ -34,6 +34,31 @@ Review server log messages The bcfg2-server process logs to syslog facility LOG_DAEMON. The server produces a series of messages upon a variety of events and errors. +The server also supports two XML-RPC methods that can be used +to turn up the debug level in a live server: + +* ``toggle_debug``: Turn debug on or off, depending on the current + setting. +* ``set_debug``: Turn debug explicitly on or off. + +These can be called with :ref:`bcfg2-admin xcmd `, +e.g.:: + + bcfg2-admin xcmd toggle_debug + bcfg2-admin xcmd set_debug true + +Each plugin also supports these two methods, which can be used to set +the debug level individually on a given plugin, e.g.:: + + bcfg2-admin xcmd Packages.set_debug true + bcfg2-admin xcmd Probes.toggle_debug + +Finally, the File Activity Monitor has its own analogue to these two +methods, for setting the debug level of the FAM: + + bcfg2-admin xcmd toggle_fam_debug + bcfg2-admin xcmd set_fam_debug false + Check if all repository XML files conform to schemas ==================================================== -- cgit v1.2.3-1-g7c22