diff --git a/.idea/.idea.ChaosBot/.idea/contentModel.xml b/.idea/.idea.ChaosBot/.idea/contentModel.xml index dba5bbf..094d953 100644 --- a/.idea/.idea.ChaosBot/.idea/contentModel.xml +++ b/.idea/.idea.ChaosBot/.idea/contentModel.xml @@ -1,6 +1,7 @@ + diff --git a/ChaosBot/Discord/Services/CommandHandler.cs b/ChaosBot/Discord/Services/CommandHandler.cs index f08b05c..1a97231 100644 --- a/ChaosBot/Discord/Services/CommandHandler.cs +++ b/ChaosBot/Discord/Services/CommandHandler.cs @@ -75,13 +75,13 @@ namespace ChaosBot.Discord.Services { if (!command.IsSpecified) { - System.Console.WriteLine($"Command failed to execute for [{context.User.Username}] <-> [{result.ErrorReason}]!"); + _logger.Error($"Command failed to execute for [{context.User.Username}] <-> [{result.ErrorReason}]!"); return; } if (result.IsSuccess) { - System.Console.WriteLine($"Command [{command.Value.Name}] executed for -> [{context.User.Username}]"); + _logger.Info($"Command [{command.Value.Name}] executed for -> [{context.User.Username}]"); return; } diff --git a/ChaosBot/appsettings.json b/ChaosBot/appsettings.json index d74e236..a0bb373 100644 --- a/ChaosBot/appsettings.json +++ b/ChaosBot/appsettings.json @@ -10,8 +10,6 @@ "Prefix": "!" }, "NLog": { - "internalLogLevel": "Info", - "internalLogFile": "c:\\temp\\internal-nlog.txt", "extensions": { "NLog.Web.AspNetCore": { "assembly": "NLog.Web.AspNetCore"