--- smsdaemon/main.cpp 2008/12/10 10:16:50 174 +++ smsdaemon/main.cpp 2008/12/10 22:02:28 175 @@ -1,5 +1,6 @@ #include #include +#include #include "daemon.h" #include "Common.h" @@ -84,9 +85,11 @@ bool res = config->Open( cmn->configFilePath ) ; if (!res) { - Logger::logMessage(string("Could not open config file:") + cmn->configFilePath); + cout << "Could not open config file:" << cmn->configFilePath << endl; return 1; } + + Logger::initLog(); /////////////////////