setup_logging issue resolved