Adapt log directory setting to the new upstream parameter