Added logging for server using syslog.

This commit is contained in:
lotodore
2007-10-23 21:26:07 +00:00
parent ae030a3669
commit b4848532f9
12 changed files with 175 additions and 111 deletions
+3 -3
View File
@@ -102,7 +102,7 @@ Log::Log(mainWindowImpl* w, ConfigFile *c) : myW(w), myConfig(c), myLogDir(0), m
}
}
else { cout << "Log directory doesn't exists. Cannot create log files"; }
else { cout << "Log directory doesn't exist. Cannot create log files"; }
}
}
@@ -1624,9 +1624,9 @@ void Log::writeLogFileStream(QString streamString) {
stream << streamString;
myLogFile->close();
}
else { cout << "could not open log-file to write log-messages!" << endl; }
else { cout << "Could not open log-file to write log-messages!" << endl; }
}
else { cout << "could not find log-file to write log-messages!" << endl; }
else { cout << "Could not find log-file to write log-messages!" << endl; }
}
void Log::flushLogAtHand() {