docstring for initialize_logger