diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-02 09:47:58 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-05 09:43:42 -0500 |
commit | a9402e5d8e75f7f361a5754e91180ed4f4ee98e1 (patch) | |
tree | 758a40968c728990438fbb404bb7fd885aaddfcf /server/util | |
parent | 45febf05db2be90441119d96a53e56be22dc1e96 (diff) | |
download | sssd-a9402e5d8e75f7f361a5754e91180ed4f4ee98e1.tar.gz sssd-a9402e5d8e75f7f361a5754e91180ed4f4ee98e1.tar.bz2 sssd-a9402e5d8e75f7f361a5754e91180ed4f4ee98e1.zip |
Enable debug_timestamps by default
It can be overridden in the sssd.conf or on the commandline with
--debug-timestamps=0
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 |