pycharm built in unittest overwrites logger

Answered

How do i override pycharms hijacking of logging module which overrides my own one?

When i import my logging module it simple doesnt even run it. just completely overrides it. What do i need to do?

3 comments

What is the name of your file (your logging module)?

0

```from toolbox.logger import logger```

 

it shouldnt affect it as im already in my toolbox?

0

Unfortunately, it isn't clear to me what you mean by "it simple doesnt even run it. just completely overrides it.".

Please attach a screenshot of the problem (errors, if any).
Try running it from the system terminal (outside of PyCharm) using the same interpreter. What's the result?

0

Please sign in to leave a comment.