[sr-dev] git:master:70b3dc76: debugger: update doku for fifo commands
Stefan Mititelu
stefan.mititelu at 1and1.ro
Wed Jan 6 15:13:43 CET 2016
Module: kamailio
Branch: master
Commit: 70b3dc76a1eac47dc70d5624f27c7f39717ecb7e
URL: https://github.com/kamailio/kamailio/commit/70b3dc76a1eac47dc70d5624f27c7f39717ecb7e
Author: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu at 1and1.ro>
Date: 2016-01-05T13:26:32+02:00
debugger: update doku for fifo commands
Update doku for fifo commands.
---
Modified: modules/debugger/doc/debugger_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/70b3dc76a1eac47dc70d5624f27c7f39717ecb7e.diff
Patch: https://github.com/kamailio/kamailio/commit/70b3dc76a1eac47dc70d5624f27c7f39717ecb7e.patch
---
diff --git a/modules/debugger/doc/debugger_admin.xml b/modules/debugger/doc/debugger_admin.xml
index cddfc26..0ae70a2 100644
--- a/modules/debugger/doc/debugger_admin.xml
+++ b/modules/debugger/doc/debugger_admin.xml
@@ -616,6 +616,83 @@ P-Hint: My hint
</section>
+
+ <section>
+ <title>Exported MI Functions</title>
+
+ <section id="debugger.m.set_dbg_mod_level mod_name level">
+ <title><function moreinfo="none">set_dbg_mod_level mod_name level</function></title>
+ <para>
+ Set the module log level.
+ If module does not exist in kamailio, the entry in the level hashtable is still added for the bogus module.
+ </para>
+ <example>
+ <title><function moreinfo="none">set_dbg_mod_level</function> usage</title>
+ <programlisting format="linespecific">
+...
+$ &ctltool; fifo set_dbg_mod_level core 2
+$ &ctltool; fifo set_dbg_mod_level debugger 3
+...
+ </programlisting>
+ </example>
+ </section>
+
+ <section id="debugger.m.set_dbg_mod_facility mod_name facility">
+ <title><function moreinfo="none">set_dbg_mod_facility mod_name facility</function></title>
+ <para>
+ Set the mod_name log facility.
+ If mod_name does not exist in kamailio, the entry in the facility hashtable is still added for the bogus mod_name.
+ </para>
+ <example>
+ <title><function moreinfo="none">set_dbg_mod_facility</function> usage</title>
+ <programlisting format="linespecific">
+...
+$ &ctltool; fifo set_dbg_mod_facility core LOG_LOCAL1
+$ &ctltool; fifo set_dbg_mod_facility debugger LOG_LOCAL0
+...
+ </programlisting>
+ </example>
+ </section>
+
+ <section id="debugger.m.get_dbg_mod_level mod_name">
+ <title><function moreinfo="none">get_dbg_mod_level mod_name</function></title>
+ <para>
+ Get the mod_name log level.
+ If mod_name does not exist in the level hashtable, returns the config file value.
+ </para>
+ <example>
+ <title><function moreinfo="none">get_dbg_mod_level</function> usage</title>
+ <programlisting format="linespecific">
+...
+$ &ctltool; fifo get_dbg_mod_level core
+$ &ctltool; fifo get_dbg_mod_level debugger
+...
+ </programlisting>
+ </example>
+ </section>
+
+ <section id="debugger.m.get_dbg_mod_facility mod_name">
+ <title><function moreinfo="none">get_dbg_mod_facility mod_name</function></title>
+ <para>
+ Get the mod_name log facility.
+ If mod_name does not exist in the facility hashtable, returns the config file value.
+ </para>
+ <example>
+ <title><function moreinfo="none">get_dbg_mod_facility</function> usage</title>
+ <programlisting format="linespecific">
+...
+$ &ctltool; fifo get_dbg_mod_facility core
+$ &ctltool; fifo get_dbg_mod_facility debugger
+...
+ </programlisting>
+ </example>
+ </section>
+
+ </section>
+
+
+
+
<section>
<title>Exported RPC Functions</title>
More information about the sr-dev
mailing list