Skip to content

Commit

Permalink
Merge pull request #18 from EGA-archive/entry_types
Browse files Browse the repository at this point in the history
fixing duplicate logs
  • Loading branch information
costero-e authored Nov 29, 2024
2 parents 29c630c + 01da827 commit 2db63c8
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 2db63c8

Please sign in to comment.