From: Michael Adam Date: Thu, 23 Jul 2015 14:42:48 +0000 (+0200) Subject: param: make 'timestamp logs' the default writing of 'debug timestamp' X-Git-Tag: talloc-2.1.4~501 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=179d715350bdc092946051584f86788f1cc9eed7;p=thirdparty%2Fsamba.git param: make 'timestamp logs' the default writing of 'debug timestamp' This is how it used internally. Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- diff --git a/docs-xml/smbdotconf/logging/debugtimestamp.xml b/docs-xml/smbdotconf/logging/timestamplogs.xml similarity index 72% rename from docs-xml/smbdotconf/logging/debugtimestamp.xml rename to docs-xml/smbdotconf/logging/timestamplogs.xml index 87c88ca9020..28003c3865e 100644 --- a/docs-xml/smbdotconf/logging/debugtimestamp.xml +++ b/docs-xml/smbdotconf/logging/timestamplogs.xml @@ -1,13 +1,12 @@ - -timestamp logs +debug timestamp - Samba debug log messages are timestamped by default. If you are running at a high - these timestamps can be distracting. This + Samba debug log messages are timestamped by default. If you are running at a high + these timestamps can be distracting. This boolean parameter allows timestamping to be turned off. diff --git a/lib/param/param_table.c b/lib/param/param_table.c index cfabe5cd51e..cd66c1d7de3 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -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",