mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2026-05-16 11:35:36 +00:00
Write service log to separate directory
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ namespace i2p
|
||||
{
|
||||
if (isDaemon)
|
||||
{
|
||||
std::string logfile_path = IsService () ? "/var/log" : i2p::util::filesystem::GetDataDir().string();
|
||||
std::string logfile_path = IsService () ? "/var/log/i2pd" : i2p::util::filesystem::GetDataDir().string();
|
||||
#ifndef _WIN32
|
||||
logfile_path.append("/i2pd.log");
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user