solve log-config-file bug