From 762de84f34d1dcf24b3355d0125c317f211e3c70 Mon Sep 17 00:00:00 2001 From: bao-qian Date: Mon, 23 May 2016 21:34:19 +0100 Subject: [PATCH] Rename log file --- Wox.Infrastructure/Logger/Log.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Wox.Infrastructure/Logger/Log.cs b/Wox.Infrastructure/Logger/Log.cs index 9faff9c493..56870be676 100644 --- a/Wox.Infrastructure/Logger/Log.cs +++ b/Wox.Infrastructure/Logger/Log.cs @@ -22,7 +22,7 @@ namespace Wox.Infrastructure.Logger var configuration = new LoggingConfiguration(); var target = new FileTarget(); configuration.AddTarget("file", target); - target.FileName = "${specialfolder:folder=ApplicationData}/" + Constant.Wox + "/" + DirectoryName + "/" + Constant.Version + "/${shortdate}.log"; + target.FileName = "${specialfolder:folder=ApplicationData}/" + Constant.Wox + "/" + DirectoryName + "/" + Constant.Version + "/${shortdate}.txt"; var rule = new LoggingRule("*", LogLevel.Info, target); configuration.LoggingRules.Add(rule); LogManager.Configuration = configuration;