Skip to content

Commit

Permalink
Log to stderr
Browse files Browse the repository at this point in the history
Not sure if this is the best idea, but it's better for running
scripts. Maybe we need to make this configurable.
  • Loading branch information
dpausp committed Mar 16, 2021
1 parent 03ad0b5 commit a32e16f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ekklesia_portal/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def default(self, obj):
logging.getLogger("passlib.registry").setLevel(logging.INFO)
logging.getLogger("passlib.utils.compat").setLevel(logging.INFO)

eliot.to_file(sys.stdout, encoder=MyEncoder)
eliot.to_file(sys.stderr, encoder=MyEncoder)

logging.captureWarnings(True)

Expand Down

0 comments on commit a32e16f

Please sign in to comment.