From 12544a49128867358706063ae5e6b4afc2a01351 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Mon, 6 Dec 2010 23:01:40 -0800 Subject: [PATCH] logging: Add log_to_syslog option Signed-off-by: Colin McCabe --- src/config.cc | 1 + src/config.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/config.cc b/src/config.cc index abeaff8ae33d2..3506184ae106f 100644 --- a/src/config.cc +++ b/src/config.cc @@ -326,6 +326,7 @@ static struct config_option config_optionsp[] = { OPTION(log_sym_dir, 0, OPT_STR, 0), OPTION(log_sym_history, 0, OPT_INT, 10), OPTION(log_to_stdout, 0, OPT_BOOL, true), + OPTION(log_to_syslog, 0, OPT_BOOL, false), OPTION(log_per_instance, 0, OPT_BOOL, false), OPTION(clog_to_monitors, 0, OPT_BOOL, true), OPTION(clog_to_syslog, 0, OPT_BOOL, false), diff --git a/src/config.h b/src/config.h index b492e7371854a..6ebcc9e1768d6 100644 --- a/src/config.h +++ b/src/config.h @@ -82,6 +82,7 @@ struct md_config_t { const char *log_sym_dir; int log_sym_history; bool log_to_stdout; + bool log_to_syslog; bool log_per_instance; bool clog_to_monitors; -- 2.39.5