Bazaar/IPNServerTest : move log file on correct path for daemonized server

git-svn-id: svn://ultimatepp.org/upp/trunk@4586 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2012-02-13 11:04:00 +00:00
parent 630ea702b1
commit 21afc8cae1

View file

@ -40,7 +40,7 @@ static bool Daemonize(void)
return false;
// Redirect standard files to a log file (NULL for input)
String logPath = "/var/log/TimberStruct/";
String logPath = "/var/log/IPNServer/";
RealizePath(logPath);
freopen("/dev/null", "r", stdin);
freopen(AppendFileName(logPath, "out.log"), "w", stdout);