mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
move log folder into caller folder if called with additional config file
This commit is contained in:
parent
201590db7d
commit
4580bb15a0
@ -134,6 +134,9 @@ int Gradido_LoginServer::main(const std::vector<std::string>& args)
|
|||||||
#if defined(_WIN32) || defined(_WIN64)
|
#if defined(_WIN32) || defined(_WIN64)
|
||||||
log_Path = "./";
|
log_Path = "./";
|
||||||
#endif
|
#endif
|
||||||
|
if (mConfigPath != "") {
|
||||||
|
log_Path = "./";
|
||||||
|
}
|
||||||
|
|
||||||
// init speed logger
|
// init speed logger
|
||||||
Poco::AutoPtr<Poco::SimpleFileChannel> speedLogFileChannel(new Poco::SimpleFileChannel(log_Path + "speedLog.txt"));
|
Poco::AutoPtr<Poco::SimpleFileChannel> speedLogFileChannel(new Poco::SimpleFileChannel(log_Path + "speedLog.txt"));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user