mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
don't delete log file upon HUP
This commit is contained in:
parent
4aae878db8
commit
61675c20d8
2 changed files with 6 additions and 4 deletions
2
Log.h
2
Log.h
|
@ -38,7 +38,7 @@ class Log: public i2p::util::MsgQueue<LogMsg>
|
|||
Log () { SetOnEmpty (std::bind (&Log::Flush, this)); };
|
||||
~Log () {};
|
||||
|
||||
void SetLogFile (const std::string& fullFilePath);
|
||||
void SetLogFile (const std::string& fullFilePath, bool truncate = true);
|
||||
void ReopenLogFile ();
|
||||
void SetLogLevel (const std::string& level);
|
||||
void SetLogStream (std::shared_ptr<std::ostream> logStream);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue