Skip to content

Commit

Permalink
Merge pull request #601 from bcgov/BCPSDEMS-1871-tools
Browse files Browse the repository at this point in the history
Bcpsdems 1871 tools
  • Loading branch information
leewrigh authored Jul 4, 2024
2 parents 52bba7d + 718cdc1 commit 0f389de
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
3 changes: 1 addition & 2 deletions backend/ISLInterfaces/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ public static void Main(string[] args)
theme: AnsiConsoleTheme.Code
);

// trigger build
if (string.IsNullOrEmpty(splunkHost) || string.IsNullOrEmpty(splunkToken))
{
Console.WriteLine("Splunk Host or Token is not configured - check Splunk environment");
Expand All @@ -109,8 +110,6 @@ public static void Main(string[] args)

Log.Logger = loggerConfiguration.CreateLogger();

builder.Services.AddTransient<SerilogHandler>();

Log.Information($"Logging to splunk host {splunkHost}");


Expand Down
18 changes: 0 additions & 18 deletions backend/ISLInterfaces/SerilogHandler.cs

This file was deleted.

0 comments on commit 0f389de

Please sign in to comment.