don't delete log file upon HUP

This commit is contained in:
orignal 2016-02-29 11:02:55 -05:00
parent 4aae878db8
commit 61675c20d8
2 changed files with 6 additions and 4 deletions

2
Log.h
View file

@ -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);