minerva-ml / minerva-training-materials

Learn advanced data science on real-life, curated problems
https://neptune.ml/minerva
MIT License
48 stars 14 forks source link

Neptune: logs created with use of `logging` go to Neptune stderr #22

Closed buus2 closed 6 years ago

buus2 commented 6 years ago

If you use Neptune, logs created with use of logging go to Neptune stderr, not to stdout.

I also checked that if you change logger.setLevel from logging.INFO (equal 20) to:

jakubczakon commented 6 years ago

I think this is a neptune related bug so I contacted neptune team on their community forum here: https://community.neptune.ml/t/outputs-from-logging-end-up-in-the-stderr-channel/218

I will fix it as soon as I get the information from them.

jakubczakon commented 6 years ago

It turns out that logging by default logs to stderr and you need to redirected to stdout if you want to.

It is done now, and waiting for the PR to merge.

kamil-kaczmarek commented 6 years ago

@jakubczakon @buus2 Merged