Skip to content

Commit

Permalink
Merge pull request #9476 from joshcooper/MartyEwings-patch-1
Browse files Browse the repository at this point in the history
(maint) Remove needless check in setting  default
  • Loading branch information
joshcooper authored Sep 27, 2024
2 parents a861c0c + 3ae3815 commit 1afc8eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/windows/service/daemon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def parse_runinterval(puppet_path)

def parse_log_level(puppet_path, cmdline_debug)
begin
loglevel = %x(#{puppet_path} config --section agent --log_level notice print log_level).chomp
loglevel = "notice"
unless loglevel && respond_to?("log_#{loglevel}")
loglevel = :notice
log_err("Failed to determine loglevel, defaulting to #{loglevel}")
Expand Down

0 comments on commit 1afc8eb

Please sign in to comment.