diff options
Diffstat (limited to 'server/util')
-rw-r--r-- | server/util/debug.c | 2 | ||||
-rw-r--r-- | server/util/util.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/server/util/debug.c b/server/util/debug.c index aa34e57f..d26d31c9 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 a639b192..2ea62464 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 |