summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-07-28 11:56:33 +0200
committerlouiz’ <louiz@louiz.org>2016-07-28 11:56:33 +0200
commit085a48ea48b9fcb2188b645d2a373d97b8dab9aa (patch)
tree469319d21ea97af14c18e041490ab0dd2b96f37b
parentcf9104e3e27fe67978ccb202eecd2ab7c98518e1 (diff)
downloadbiboumi-085a48ea48b9fcb2188b645d2a373d97b8dab9aa.tar.gz
biboumi-085a48ea48b9fcb2188b645d2a373d97b8dab9aa.tar.bz2
biboumi-085a48ea48b9fcb2188b645d2a373d97b8dab9aa.tar.xz
biboumi-085a48ea48b9fcb2188b645d2a373d97b8dab9aa.zip
Do not use the logger before the configuration has been loaded first
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 8542e41..9b36880 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -50,7 +50,7 @@ static void sigusr_handler(int, siginfo_t*, void*)
int main(int ac, char** av)
{
const std::string conf_filename = ac > 1 ? av[1] : xdg_config_path("biboumi.cfg");
- log_info("Using configuration file: ", conf_filename);
+ std::cout << "Using configuration file: " << conf_filename << std::endl;
if (!Config::read_conf(conf_filename))
return config_help("");