added init_logger