summaryrefslogtreecommitdiffstats
path: root/server/util
diff options
context:
space:
mode:
Diffstat (limited to 'server/util')
-rw-r--r--server/util/debug.c2
-rw-r--r--server/util/util.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/util/debug.c b/server/util/debug.c
index aa34e57ff..d26d31c95 100644
--- a/server/util/debug.c
+++ b/server/util/debug.c
@@ -32,7 +32,7 @@
const char *debug_prg_name = "sssd";
int debug_level = 0;
-int debug_timestamps = 0;
+int debug_timestamps = 1;
int debug_to_file = 0;
const char *debug_log_file = "sssd";
diff --git a/server/util/util.h b/server/util/util.h
index a639b1927..2ea624647 100644
--- a/server/util/util.h
+++ b/server/util/util.h
@@ -60,8 +60,8 @@ errno_t set_debug_file_from_fd(const int fd);
"Debug level", NULL}, \
{"debug-to-files", 'f', POPT_ARG_NONE, &debug_to_file, 0, \
"Send the debug output to files instead of stderr", NULL }, \
- {"debug-timestamps", 0, POPT_ARG_NONE, &debug_timestamps, 0, \
- "Add debug timestamps", NULL},
+ {"debug-timestamps", 0, POPT_ARG_INT, &debug_timestamps, 0, \
+ "Add debug timestamps", NULL},
/** \def DEBUG(level, body)
\brief macro to generate debug messages