Parent Directory | Revision Log | Patch
revision 168 by torben, Tue Dec 9 21:44:15 2008 UTC | revision 175 by torben, Wed Dec 10 22:02:28 2008 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | #include <string> | #include <string> |
2 | #include <stdlib.h> | #include <stdlib.h> |
3 | #include <iostream> | |
4 | ||
5 | #include "daemon.h" | #include "daemon.h" |
6 | #include "Common.h" | #include "Common.h" |
# | Line 84 int main(int argc, char* argv[]) | Line 85 int main(int argc, char* argv[]) |
85 | ||
86 | bool res = config->Open( cmn->configFilePath ) ; | bool res = config->Open( cmn->configFilePath ) ; |
87 | if (!res) { | if (!res) { |
88 | Logger::logMessage(string("Could not open config file:") + cmn->configFilePath); | cout << "Could not open config file:" << cmn->configFilePath << endl; |
89 | return 1; | return 1; |
90 | } | } |
91 | ||
92 | Logger::initLog(); | |
93 | ||
94 | ||
95 | ///////////////////// | ///////////////////// |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |