mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
Write service log to separate directory
This commit is contained in:
parent
5215bdc035
commit
ab0d66c2ef
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue