Skip to content

Commit ae301af

Browse files
authored
Fix #4500 (#4523)
1 parent a2bc10e commit ae301af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_chain/nimbus_binary_common.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ proc updateLogLevel*(logLevel: string) {.raises: [Defect, ValueError].} =
8383
# Updates log levels (without clearing old ones)
8484
let directives = logLevel.split(";")
8585
try:
86-
setLogLevel(parseEnum[LogLevel](directives[0]))
86+
setLogLevel(parseEnum[LogLevel](directives[0].capitalizeAscii()))
8787
except ValueError:
8888
raise (ref ValueError)(msg: "Please specify one of TRACE, DEBUG, INFO, NOTICE, WARN, ERROR or FATAL")
8989

0 commit comments

Comments
 (0)