make set_up_logger more robust in logs.py
set_up_logger should return the logger and also safeguard against multiple calls of the function with the same parameters. Otherwise the logger instance will end up with multiple file handlers and console handlers due to the singleton mechanic of the logging module.
As this is a latent bug I strongly recommend changing this function into a factory and not abusing the cross talk feature.