Fix log directory path