Module: sip-router Branch: 4.2 Commit: 3ddda387934842542c2952ee912db55ba91f1c0e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=3ddda387...
Author: Daniel-Constantin Mierla miconda@gmail.com Committer: Daniel-Constantin Mierla miconda@gmail.com Date: Tue Nov 4 10:20:46 2014 +0100
benchmark: sync'ed log level values in documentation
(cherry picked from commit 61ab723bb46f46f9013587e26ee07f39e5388ff8)
---
modules/benchmark/README | 14 ++++++++------ modules/benchmark/doc/benchmark_admin.xml | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-)
diff --git a/modules/benchmark/README b/modules/benchmark/README index c01e575..a2193de 100644 --- a/modules/benchmark/README +++ b/modules/benchmark/README @@ -174,13 +174,15 @@ modparam("benchmark", "granularity", 500) 3.3. loglevel (int)
Set the log level for the benchmark logs. These levels should be used: - * -3 - L_ALERT - * -2 - L_CRIT + * -5 - L_ALERT + * -4 - L_BUG + * -3 - L_CRIT + * -2 - L_CRIT (no prefix) * -1 - L_ERR - * 1 - L_WARN - * 2 - L_NOTICE - * 3 - L_INFO - * 4 - L_DBG + * 0 - L_WARN + * 1 - L_NOTICE + * 2 - L_INFO + * 3 - L_DBG
Default value is "3" (L_INFO).
diff --git a/modules/benchmark/doc/benchmark_admin.xml b/modules/benchmark/doc/benchmark_admin.xml index 73e9ff5..903ef00 100644 --- a/modules/benchmark/doc/benchmark_admin.xml +++ b/modules/benchmark/doc/benchmark_admin.xml @@ -127,13 +127,15 @@ modparam("benchmark", "granularity", 500) <para> Set the log level for the benchmark logs. These levels should be used: <itemizedlist> - <listitem><para>-3 - L_ALERT</para></listitem> - <listitem><para>-2 - L_CRIT</para></listitem> + <listitem><para>-5 - L_ALERT</para></listitem> + <listitem><para>-4 - L_BUG</para></listitem> + <listitem><para>-3 - L_CRIT</para></listitem> + <listitem><para>-2 - L_CRIT (no prefix)</para></listitem> <listitem><para>-1 - L_ERR</para></listitem> - <listitem><para>1 - L_WARN</para></listitem> - <listitem><para>2 - L_NOTICE</para></listitem> - <listitem><para>3 - L_INFO</para></listitem> - <listitem><para>4 - L_DBG</para></listitem> + <listitem><para>0 - L_WARN</para></listitem> + <listitem><para>1 - L_NOTICE</para></listitem> + <listitem><para>2 - L_INFO</para></listitem> + <listitem><para>3 - L_DBG</para></listitem> </itemizedlist> </para> <para>