param: make 'timestamp logs' the default writing of 'debug timestamp'
authorMichael Adam <obnox@samba.org>
Thu, 23 Jul 2015 14:42:48 +0000 (16:42 +0200)
committerJeremy Allison <jra@samba.org>
Thu, 30 Jul 2015 23:55:31 +0000 (01:55 +0200)
This is how it used internally.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
docs-xml/smbdotconf/logging/timestamplogs.xml [moved from docs-xml/smbdotconf/logging/debugtimestamp.xml with 72% similarity]
lib/param/param_table.c

similarity index 72%
rename from docs-xml/smbdotconf/logging/debugtimestamp.xml
rename to docs-xml/smbdotconf/logging/timestamplogs.xml
index 87c88ca9020045be3eea609caa4123e24e77f4e3..28003c3865e9a15a7fb25ea33fdba56a792a660c 100644 (file)
@@ -1,13 +1,12 @@
-<samba:parameter name="debug timestamp"
+<samba:parameter name="timestamp logs"
                  context="G"
                  type="boolean"
-                 function="timestamp_logs"
                  xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
-<synonym>timestamp logs</synonym>
+<synonym>debug timestamp</synonym>
 <description>
     <para>
-    Samba debug log messages are timestamped by default. If you are running at a high 
-    <smbconfoption name="debug level"/> these timestamps can be distracting. This 
+    Samba debug log messages are timestamped by default. If you are running at a high
+    <smbconfoption name="debug level"/> these timestamps can be distracting. This
     boolean parameter allows timestamping to be turned off.
        </para>
 </description>
index cfabe5cd51e4768541eba93c60863cec5abc132e..cd66c1d7de3566baf92b6ba41a3d7c72d1d51be4 100644 (file)
@@ -1143,6 +1143,7 @@ struct parm_struct parm_table[] = {
                .offset         = GLOBAL_VAR(timestamp_logs),
                .special        = NULL,
                .enum_list      = NULL,
+               .flags          = FLAG_SYNONYM,
        },
        {
                .label          = "timestamp logs",