that"s all I know so far:
handlers:
file_a:
formatter: standard
filename: /var/log/a.log
file_b:
formatter: standard
filename: /var/log/b.log
loggers:
logger_a:
level: DEBUG
handlers: [file_a]
logger_b:
level: DEBUG
handlers: [file_b]
is there no way to determine the file name based on the name of logger?
for example:
handlers:
multi_file:
filename: /var/log/{name}.log
at present, what is available is to wrap the logging.getLogger method. Is there no easier way to configure its fileHandler, when taking logger?