Skip to content

Commit

Permalink
fix: LOG_LEVEL env breakchange (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucky2077 authored Apr 27, 2024
1 parent 3b7212a commit f37d361
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion electrumx_server
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ load_dotenv()
def main():
'''Set up logging and run the server.'''
log_fmt = Env.default('LOG_FORMAT', '%(levelname)s:%(name)s:%(message)s')
log_level = Env.default('LOG_LEVEL', 'INFO')
log_level = Env.default('LOG_LEVEL', 'INFO').upper()
log_path = Env.default('LOG_PATH', None)
if log_path:
exist =os.path.exists(log_path)
Expand Down

0 comments on commit f37d361

Please sign in to comment.