Python logging configuration file

前端 未结 4 687
悲哀的现实
悲哀的现实 2020-12-24 01:26

I seem to be having some issues while attempting to implement logging into my python project.

I\'m simply attempting to mimic the following configuration:

Py

4条回答
  •  清酒与你
    2020-12-24 02:01

    Just add log level in [logger_root]. It is worked.

    [logger_root]
    level=DEBUG
    handlers=screen,file
    

提交回复
热议问题