summaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/client/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'yt/cpp/mapreduce/client/init.cpp')
-rw-r--r--yt/cpp/mapreduce/client/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt/cpp/mapreduce/client/init.cpp b/yt/cpp/mapreduce/client/init.cpp
index 3a68942cab1..242bbcb2bb1 100644
--- a/yt/cpp/mapreduce/client/init.cpp
+++ b/yt/cpp/mapreduce/client/init.cpp
@@ -181,7 +181,7 @@ void CommonInitialize(int, const char**)
if (logPath.empty()) {
logger = CreateStdErrLogger(logLevel);
} else {
- logger = CreateFileLogger(logLevel, logPath);
+ logger = CreateFileLogger(logLevel, logPath, /*append*/ true);
auto coreLoggingConfig = NLogging::TLogManagerConfig::CreateLogFile(logPath, ToCoreLogLevel(logLevel));
NLogging::TLogManager::Get()->Configure(coreLoggingConfig);