fixed argument passing to setup_logger