Always delete old log file

This commit is contained in:
JustArchi
2016-07-04 19:25:01 +02:00
parent 6ada40fc2f
commit 6128d87cbf

View File

@@ -41,6 +41,7 @@ namespace ArchiSteamFarm {
if (Program.GlobalConfig.LogToFile) {
FileTarget fileTarget = new FileTarget("File") {
DeleteOldFileOnStartup = true,
FileName = Program.LogFile,
Layout = Layout
};