U/salnikov/dm 621

Maybe a config file like this could be fine: https://docs.python.org/2/howto/logging.html#configuring-logging.
I used this type of file with log4j/slf4j and once you know how it works its quite easy to configure logging for
any java application that use it.