This is all Python. I am still learning...
I have written two modules for my Python application: Module1
and Module2
.
I need to send my logging results to three different files. Module1
sends to setup.log
and setupdetails.log
files and Module2
sends to runall.log
Module2 is the application I run. Within it is an import statement that calls Module1.
Because I have configured my logging in a my_dictionary
, which one of the modules should contain the dictionary? Which one of the modules should contain the logging.config.dictConfig(my_dictionary)
function?
Do you know of anywhere I could find a good script with an example of how to use dictConfig
?