Skip to content

Commit

Permalink
fixing duplicate logs
Browse files Browse the repository at this point in the history
  • Loading branch information
costero-e committed Nov 29, 2024
1 parent 29c630c commit 01da827
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions beacon/logs/logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@
sh.setFormatter(formatter)
LOG.addHandler(sh)

if len(LOG.handlers) > 0:
# Remove the first handler
LOG.removeHandler(LOG.handlers[0])

# LOGS per iniciar i parar el contenidor (INFO)
# LOGS per he rebut una request i retorno una response (INFO)
# Tota la resta per DEBUG
Expand Down

0 comments on commit 01da827

Please sign in to comment.