diff options
Diffstat (limited to 'src/monitor')
-rw-r--r-- | src/monitor/monitor.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/monitor/monitor.c b/src/monitor/monitor.c index 1b310766..5751cd01 100644 --- a/src/monitor/monitor.c +++ b/src/monitor/monitor.c @@ -2516,6 +2516,12 @@ int main(int argc, const char *argv[]) /* Parse config file, fail if cannot be done */ ret = load_configuration(tmp_ctx, config_file, &monitor); if (ret != EOK) { + /* if debug level has not been set, set it manually to make these + * critical failures visible */ + if (debug_level == SSSDBG_UNRESOLVED) { + debug_level = SSSDBG_MASK_ALL; + } + if (ret == EPERM) { DEBUG(1, ("Cannot read configuration file %s\n", config_file)); sss_log(SSS_LOG_ALERT, |