From 179d715350bdc092946051584f86788f1cc9eed7 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 23 Jul 2015 16:42:48 +0200 Subject: [PATCH] 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 --- .../logging/{debugtimestamp.xml => timestamplogs.xml} | 9 ++++----- lib/param/param_table.c | 1 + 2 files changed, 5 insertions(+), 5 deletions(-) rename docs-xml/smbdotconf/logging/{debugtimestamp.xml => timestamplogs.xml} (72%) 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",