Module: kamailio
Branch: master
Commit: dfbffd71ed01fe72022babd3836966299283994b
URL:
https://github.com/kamailio/kamailio/commit/dfbffd71ed01fe72022babd38369662…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-11-11T08:14:37+01:00
corex: documentation for corex.debug rpc command
---
Modified: src/modules/corex/doc/corex_admin.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/dfbffd71ed01fe72022babd38369662…
Patch:
https://github.com/kamailio/kamailio/commit/dfbffd71ed01fe72022babd38369662…
---
diff --git a/src/modules/corex/doc/corex_admin.xml
b/src/modules/corex/doc/corex_admin.xml
index cc424367d9..2a83f2cd2e 100644
--- a/src/modules/corex/doc/corex_admin.xml
+++ b/src/modules/corex/doc/corex_admin.xml
@@ -10,9 +10,9 @@
<!-- Module User's Guide -->
<chapter>
-
+
<title>&adminguide;</title>
-
+
<section>
<title>Overview</title>
<para>
@@ -414,6 +414,23 @@ if(file_write("/tmp/data.txt", "Data is:
$var(data)")) { ... }
<section>
<title>RPC Commands</title>
+ <section id="corex.rpc.debug">
+ <title>
+ <function moreinfo="none">corex.debug</function>
+ </title>
+ <para>
+ Set or get the global log level (the value for global parameter
+ 'debug'). To set the debug, provide an integer parameter. If
+ no parameter is provided, then the current value is returned.
+ </para>
+ <para>
+ Example:
+ </para>
+ <programlisting format="linespecific">
+ &kamcmd; corex.debug
+ &kamcmd; corex.debug 2
+ </programlisting>
+ </section>
<section id="corex.rpc.list_sockets">
<title>
<function moreinfo="none">corex.list_sockets</function>