Module: kamailio
Branch: master
Commit: fa0517f83a09625d14ec0dd3f349a1033f274f86
URL: https://github.com/kamailio/kamailio/commit/fa0517f83a09625d14ec0dd3f349a10…
Author: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Committer: Stefan Mititelu <stefan.mititelu(a)1and1.ro>
Date: 2016-01-06T14:06:07+02:00
debugger: update doku for rpc commands
Update doku for rpc commands.
---
Modified: modules/debugger/doc/debugger_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/fa0517f83a09625d14ec0dd3f349a10…
Patch: https://github.com/kamailio/kamailio/commit/fa0517f83a09625d14ec0dd3f349a10…
---
diff --git a/modules/debugger/doc/debugger_admin.xml b/modules/debugger/doc/debugger_admin.xml
index 0ae70a2..04ba4ee 100644
--- a/modules/debugger/doc/debugger_admin.xml
+++ b/modules/debugger/doc/debugger_admin.xml
@@ -874,7 +874,85 @@ $ &ctltool; fifo get_dbg_mod_facility debugger
</programlisting>
</section>
+ <section id="dbg.r.set_mod_level">
+ <title>
+ <function moreinfo="none">dbg.set_mod_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>
+ <para>
+ Name: <emphasis>dbg.set_mod_level</emphasis>
+ </para>
+ <para>
+ Examples of use with &sercmd;:
+ </para>
+ <programlisting format="linespecific">
+ dbg.set_mod_level core 1
+ </programlisting>
+ </section>
+
+ <section id="dbg.r.set_mod_facility">
+ <title>
+ <function moreinfo="none">dbg.set_mod_facility</function>
+ </title>
+ <para>
+ Set the module log facility.
+ If module does not exist in kamailio, the entry in the facility hashtable is still added for the bogus module.
+ </para>
+ <para>
+ Name: <emphasis>dbg.set_mod_facility</emphasis>
+ </para>
+ <para>
+ Examples of use with &sercmd;:
+ </para>
+ <programlisting format="linespecific">
+ dbg.set_mod_facility core LOG_LOCAL1
+ </programlisting>
+ </section>
+
+ <section id="dbg.r.get_mod_level">
+ <title>
+ <function moreinfo="none">dbg.get_mod_level</function>
+ </title>
+ <para>
+ Get 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>
+ <para>
+ Name: <emphasis>dbg.get_mod_level</emphasis>
+ </para>
+ <para>
+ Examples of use with &sercmd;:
+ </para>
+ <programlisting format="linespecific">
+ dbg.get_mod_level core
+ </programlisting>
+ </section>
+
+ <section id="dbg.r.get_mod_facility">
+ <title>
+ <function moreinfo="none">dbg.get_mod_facility</function>
+ </title>
+ <para>
+ Get the module log facility.
+ If module does not exist in kamailio, the entry in the facility hashtable is still added for the bogus module.
+ </para>
+ <para>
+ Name: <emphasis>dbg.get_mod_facility</emphasis>
+ </para>
+ <para>
+ Examples of use with &sercmd;:
+ </para>
+ <programlisting format="linespecific">
+ dbg.get_mod_facility core
+ </programlisting>
+ </section>
+
</section>
+
+
<section>
<title>Usage</title>
<para>
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/462
-- Commit Summary --
* debugger: fifo module level/facility setters
* debugger: fifo module level/facility getters
* debugger: update doku for fifo commands
* debugger: destroy debugger shm hashtable
-- File Changes --
M dprint.c (16)
M dprint.h (2)
M modules/debugger/Makefile (1)
M modules/debugger/debugger_api.c (58)
M modules/debugger/debugger_api.h (1)
M modules/debugger/debugger_mod.c (272)
M modules/debugger/doc/debugger_admin.xml (77)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/462.patchhttps://github.com/kamailio/kamailio/pull/462.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/462