diff --git a/WelsonJS.Toolkit/WelsonJS.Service/Logging/FileLogger.cs b/WelsonJS.Toolkit/WelsonJS.Service/Logging/FileLogger.cs index bd76f16..bdbadfa 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/Logging/FileLogger.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/Logging/FileLogger.cs @@ -55,7 +55,6 @@ namespace WelsonJS.Service.Logging { Console.WriteLine(LogLevel.Warning.ToString() + ": [" + DateTime.Now.ToString() + "] Failed to write a log file. " + ex.Message); } - } } } diff --git a/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs b/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs index 22a5cd4..e5d436c 100644 --- a/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs +++ b/WelsonJS.Toolkit/WelsonJS.Service/ServiceMain.cs @@ -74,7 +74,7 @@ namespace WelsonJS.Service // set the logger ILoggerFactory factory = LoggerFactory.Create(builder => builder.AddConsole()); factory.AddDirectory(Path.GetTempPath()); - logger = factory.CreateLogger(applicationName); + logger = factory.CreateLogger(applicationName.ToLower()); // mapping arguments to each variables var arguments = ParseArguments(this.args);