Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Wright authored and Lee Wright committed Jul 4, 2024
1 parent 718cdc1 commit 5b1c767
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/ISLInterfaces/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ namespace ISLInterfaces;
using OpenTelemetry.Resources;
using Prometheus;
using Serilog;
using Serilog.Events;
using Serilog.Sinks.SystemConsole.Themes;

public class Program
Expand Down Expand Up @@ -104,8 +103,7 @@ public static void Main(string[] args)

Log.Information($"Logging to splunk host {splunkHost}");
loggerConfig
.MinimumLevel.Information()
.WriteTo.EventCollector(splunkHost, splunkToken, restrictedToMinimumLevel: LogEventLevel.Information);
.WriteTo.EventCollector(splunkHost, splunkToken);


Log.Logger = loggerConfiguration.CreateLogger();
Expand Down

0 comments on commit 5b1c767

Please sign in to comment.