回复: Question about logging.config.dictConfig

2023-02-25 Thread outlook_f8d50c5b9e059...@outlook.com
    从 Windows 版[1]邮件发送   发件人: [2]Ivan "Rambius" Ivanov 发送时间: 2023年2月8日 23:29 收件人: [3]python-list@python.org 主题: Re: Question about logging.config.dictConfig   On Tue, Feb 7, 2023 at 7:35 PM Peter J. Holzer wrote: >  > On 2023-02-07 17:5

Re: Question about logging.config.dictConfig

2023-02-08 Thread Ivan "Rambius" Ivanov
On Tue, Feb 7, 2023 at 7:35 PM Peter J. Holzer wrote: > > On 2023-02-07 17:58:26 -0500, Ivan "Rambius" Ivanov wrote: > > I am trying to configure my loggers using dictConfig, but they do not > > print anything. Here are more details. > [...] > > from myloggingconf import configure_logging > > > >

Re: Question about logging.config.dictConfig

2023-02-07 Thread Peter J. Holzer
On 2023-02-07 17:58:26 -0500, Ivan "Rambius" Ivanov wrote: > I am trying to configure my loggers using dictConfig, but they do not > print anything. Here are more details. [...] > from myloggingconf import configure_logging > > logger = logging.getLogger(os.path.basename(__file__)) [...] > > def

Question about logging.config.dictConfig

2023-02-07 Thread Ivan "Rambius" Ivanov
Hello, I am trying to configure my loggers using dictConfig, but they do not print anything. Here are more details. I have several python scripts that use a similar logging setup. I put the common configuration in a separate module myloggingconf.py: # myloggingconf.py import logging def