Merge r14277 and r14278: When opening a logfile fails, tell us why
svn:r14282
This commit is contained in:
parent
f571799a67
commit
cb59d39e6f
|
@ -5,6 +5,7 @@ Changes in version 0.2.0.24-?? - 2008-??-??
|
|||
- Do not read the configuration file when we've only been told to
|
||||
generate a password hash. Fixes bug 643. Bugfix on 0.0.9pre5. Fix
|
||||
based on patch from Sebastian Hahn.
|
||||
- When opening a logfile fails, tell us why.
|
||||
|
||||
Changes in version 0.2.0.23-rc - 2008-03-24
|
||||
o Major bugfixes:
|
||||
|
|
|
@ -3838,7 +3838,8 @@ options_init_logs(or_options_t *options, int validate_only)
|
|||
}
|
||||
if (!validate_only) {
|
||||
if (add_file_log(levelMin, levelMax, smartlist_get(elts, 2)) < 0) {
|
||||
log_warn(LD_CONFIG, "Couldn't open file for 'Log %s'", opt->value);
|
||||
log_warn(LD_CONFIG, "Couldn't open file for 'Log %s': %s",
|
||||
opt->value, strerror(errno));
|
||||
ok = 0;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue