Fix cases when app has no 'error' log configured.