diff options
Diffstat (limited to 'src/or')
-rw-r--r-- | src/or/config.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/config.c b/src/or/config.c index 1582aae1dd..22bfd35443 100644 --- a/src/or/config.c +++ b/src/or/config.c @@ -1806,8 +1806,8 @@ options_validate(or_options_t *old_options, or_options_t *options) if (normalize_log_options(options)) return -1; - /* Special case if no options are given. */ - if (!options->Logs) { + /* Special case on first boot if no Log options are given. */ + if (!old_options && !options->Logs) { config_line_append(&options->Logs, "Log", "notice stdout"); } |