2
0
Эх сурвалжийг харах

benchmark: sync'ed log level values in documentation

(cherry picked from commit 61ab723bb46f46f9013587e26ee07f39e5388ff8)
(cherry picked from commit 3ddda387934842542c2952ee912db55ba91f1c0e)
(cherry picked from commit b050dcbffba99c517766b872438263d924c0bd9c)
Daniel-Constantin Mierla 11 жил өмнө
parent
commit
2a3d8ca8ce

+ 8 - 6
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).
 

+ 8 - 6
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>