moved log file from daemon to log

This commit is contained in:
orignal 2014-04-24 11:10:46 -04:00
parent 3e81123d94
commit 2062305f88
4 changed files with 30 additions and 18 deletions

View file

@ -63,12 +63,7 @@ namespace i2p
#else
logfile_path.append("\\debug.log");
#endif
logfile.open(logfile_path, std::ofstream::out | std::ofstream::binary | std::ofstream::trunc);
if (!logfile.is_open())
exit(-17);
LogPrint("Logging to file enabled.");
g_Log.SetLogFile (logfile_path);
LogPrint("CMD parameters:");
for (int i = 0; i < argc; ++i)