Skip to content

Commit

Permalink
Merge pull request #3848 from EventStore/kunal/update-log-level-for-a…
Browse files Browse the repository at this point in the history
…llowUnknownOptions

Update log level to Warning if allowUnknownOptions sets to true
  • Loading branch information
timothycoleman committed May 23, 2023
2 parents f3d21ae + 5f93623 commit ebfbe56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventStore.ClusterNode/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ internal static class Program {
Log.Information(options.DumpOptions());

var level = options.Application.AllowUnknownOptions
? LogEventLevel.Information
? LogEventLevel.Warning
: LogEventLevel.Fatal;

foreach (var (option, suggestion) in options.Unknown.Options) {
Expand Down

0 comments on commit ebfbe56

Please sign in to comment.