summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-11-02 10:05:38 +0100
committerVolker Lendecke <vl@samba.org>2009-11-02 10:08:39 +0100
commitad6ee94950c0977463194b64faee9b012049bfd0 (patch)
treed44e5f8407e6cac8acd6bf84248e22f3e10b9d8a
parenta3553658bfd7898081de90a79afce144c91b39ac (diff)
downloadsamba-ad6ee94950c0977463194b64faee9b012049bfd0.tar.gz
samba-ad6ee94950c0977463194b64faee9b012049bfd0.tar.xz
samba-ad6ee94950c0977463194b64faee9b012049bfd0.zip
s3: Make "debug hires timestamp" default to true
It does not cost much and can help a lot when debugging
-rw-r--r--docs-xml/smbdotconf/logging/debughirestimestamp.xml2
-rw-r--r--source3/param/loadparm.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs-xml/smbdotconf/logging/debughirestimestamp.xml b/docs-xml/smbdotconf/logging/debughirestimestamp.xml
index 6f32bd593b8..6cc7b71c986 100644
--- a/docs-xml/smbdotconf/logging/debughirestimestamp.xml
+++ b/docs-xml/smbdotconf/logging/debughirestimestamp.xml
@@ -14,5 +14,5 @@
</para>
</description>
-<value type="default">no</value>
+<value type="default">yes</value>
</samba:parameter>
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 049b5e928a6..93be01783d0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4984,7 +4984,7 @@ static void init_globals(bool first_time_only)
Globals.bTimestampLogs = True;
string_set(&Globals.szLogLevel, "0");
Globals.bDebugPrefixTimestamp = False;
- Globals.bDebugHiresTimestamp = False;
+ Globals.bDebugHiresTimestamp = true;
Globals.bDebugPid = False;
Globals.bDebugUid = False;
Globals.bDebugClass = False;