Fixed the cleanup of the log files generated by the auto processes (Backup, Update and Shutdown/Restart)

Added new Log settings which allow you to turn if on/off and set the number of days/files to retain
Language file updates
This commit is contained in:
Brett Hewitson 2021-12-18 21:31:36 +10:00
parent f582e1e72a
commit dace70a37c
29 changed files with 821 additions and 431 deletions

View file

@ -7,6 +7,10 @@ namespace ServerManagerTool.DiscordBot.Models
{
public LogLevel LogLevel { get; set; } = LogLevel.Info;
public int MaxArchiveDays { get; set; } = 30;
public int MaxArchiveFiles { get; set; } = 30;
public string DiscordToken { get; set; } = string.Empty;
public string CommandPrefix { get; set; } = string.Empty;