mirror of
https://github.com/qurator-spk/eynollah.git
synced 2025-12-12 14:14:13 +01:00
log to STDERR not STDOUT
This commit is contained in:
parent
b161e33854
commit
51abe9617a
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ def main(ctx, model_basedir, model_overrides, log_level):
|
|||
eynollah - Document Layout Analysis, Image Enhancement, OCR
|
||||
"""
|
||||
# Initialize logging
|
||||
console_handler = logging.StreamHandler(sys.stdout)
|
||||
console_handler = logging.StreamHandler(sys.stderr)
|
||||
console_handler.setLevel(logging.NOTSET)
|
||||
formatter = logging.Formatter('%(asctime)s.%(msecs)03d %(levelname)s %(name)s - %(message)s', datefmt='%H:%M:%S')
|
||||
console_handler.setFormatter(formatter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue