Fix log config for windows