diff --git a/src/DonloaderService.cs b/src/DonloaderService.cs index e91efdc..7555758 100644 --- a/src/DonloaderService.cs +++ b/src/DonloaderService.cs @@ -32,7 +32,7 @@ namespace EpicMorg.Atlassian.Downloader this.SetConsoleTitle(); var feedUrls = this.GetFeedUrls(); - logger.LogTrace($"Task started"); + logger.LogInformation($"Task started"); foreach (var feedUrl in feedUrls) { if (cancellationToken.IsCancellationRequested) @@ -116,7 +116,14 @@ namespace EpicMorg.Atlassian.Downloader "https://my.atlassian.com/download/feeds/eap/confluence.json", "https://my.atlassian.com/download/feeds/eap/jira.json", "https://my.atlassian.com/download/feeds/eap/jira-servicedesk.json", - "https://my.atlassian.com/download/feeds/eap/stash.json" + "https://my.atlassian.com/download/feeds/eap/stash.json", + + //https://raw.githubusercontent.com/EpicMorg/atlassian-json/master/json-backups/archived/sourcetree.json + "https://raw.githack.com/EpicMorg/atlassian-json/master/json-backups/archived/sourcetree.json", + + //https://raw.githubusercontent.com/EpicMorg/atlassian-json/master/json-backups/current/sourcetree.json + "https://raw.githack.com/EpicMorg/atlassian-json/master/json-backups/current/sourcetree.json" + }; private void SetConsoleTitle() @@ -168,7 +175,7 @@ namespace EpicMorg.Atlassian.Downloader } } } - logger.LogTrace($"All files from \"{feedUrl}\" successfully downloaded."); + logger.LogInformation($"All files from \"{feedUrl}\" successfully downloaded."); } private async Task DownloadFile(ResponseItem file, string outputFile, CancellationToken cancellationToken) diff --git a/src/Program.cs b/src/Program.cs index 9559bd2..399dc31 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -14,10 +14,10 @@ namespace EpicMorg.Atlassian.Downloader { /// /// Atlassian archive downloader. See https://github.com/EpicMorg/atlassian-downloader for more info - /// + /// + /// Action to perform /// Override output directory to download. - /// Override URIs to import. - /// Action to perform + /// Override URIs to import. static async Task Main(string OutputDir = "atlassian", Uri[] customFeed = null, DownloadAction Action = DownloadAction.Download) => await Host .CreateDefaultBuilder() diff --git a/src/appSettings.json b/src/appSettings.json index f7a4941..330d540 100644 --- a/src/appSettings.json +++ b/src/appSettings.json @@ -1,11 +1,11 @@ { "Serilog": { - "MinimumLevel": "Verbose", + "MinimumLevel": "Information", "WriteTo": [ { "Name": "Console", "Args": { - "theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console" + "theme": "Serilog.Sinks.SystemConsole.Themes.SystemConsoleTheme::Literate, Serilog.Sinks.Console" } } ,