Skip to content

Logging additional content #161

Answered by ottowayi
slowMelon01 asked this question in Q&A
Discussion options

You must be logged in to vote

You're not, that function is only configuring the pycomm3 logger where as you're using the root logger. I didn't even think about custom loggers when I added that function, so I just did. If you update to the latest release (1.2.1), you can pass in the name of the logger you also want to configure along with the pycomm3 one. In your case where you're using the root logger, just pass in an empty string (e.g. configure_default_logger(level=LOG_VERBOSE, filename='./logging.log', logger=''). Hope that works for you.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by slowMelon01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants