Fixed config trailing space and log directory