mirror of
https://github.com/RPCS3/discord-bot.git
synced 2026-07-19 13:54:44 -04:00
[PR #85] [MERGED] Implement logging #204
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RPCS3/discord-bot/pull/85
Author: @13xforever
Created: 10/5/2018
Status: ✅ Merged
Merged: 10/6/2018
Merged by: @Nicba1010
Base:
master← Head:feature/logging📝 Commits (9)
69288ffSwallow all exceptions in async void methodsca3e5abChange !explain list message a bit to reduce spam from noobs6486681update packages8dff5ebimplemented persistent logging30c309bAdd a note for games that have multiple update pkgsd3e1220ignore logs dirb7ef00fBump min log level to INFO for release configurationa5f8c77Change default log location to the project root after testingb65a743Don't use internal discord client logging now that we have a proper solution📊 Changes
37 files changed (+285 additions, -217 deletions)
View changed files
📝
.gitignore(+2 -0)📝
CompatApiClient/ApiConfig.cs(+5 -3)📝
CompatApiClient/Client.cs(+5 -5)📝
CompatApiClient/CompatApiClient.csproj(+1 -0)📝
CompatApiClient/Utils/ConsoleLogger.cs(+13 -14)📝
CompatBot/Commands/Attributes/CheckBaseAttributeWithReactions.cs(+1 -3)📝
CompatBot/Commands/CompatList.cs(+3 -3)📝
CompatBot/Commands/Explain.cs(+2 -2)📝
CompatBot/Commands/Misc.cs(+2 -2)📝
CompatBot/Commands/Moderation.Audit.cs(+10 -1)📝
CompatBot/Commands/Psn.Check.cs(+2 -0)📝
CompatBot/Commands/Psn.cs(+2 -2)📝
CompatBot/Commands/Sudo.Bot.Commands.cs(+2 -2)📝
CompatBot/Commands/Sudo.Fix.cs(+2 -2)📝
CompatBot/Commands/Warnings.cs(+2 -3)📝
CompatBot/CompatBot.csproj(+7 -6)📝
CompatBot/Config.cs(+36 -0)📝
CompatBot/Database/DbImporter.cs(+6 -15)📝
CompatBot/Database/Providers/AmdDriverVersionProvider.cs(+1 -1)📝
CompatBot/Database/Providers/ThumbnailProvider.cs(+1 -1)...and 17 more files
📄 Description
By default config parameter
LogPathis set to<project_root>logs/bot.log.Relative paths computed from the assembly location, not from current directory.
Logs are rotated daily.
Also fixed some small issues with background task processing.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.