Skip to content

Commit

Permalink
[config] fix logging.useUTC deprecation unset (#26053)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbudz authored Nov 27, 2018
1 parent c6ce1a6 commit e1258ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/config/transform_deprecations.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const loggingTimezone = (settings, log) => {
if (_.has(settings, 'logging.useUTC')) {
const timezone = settings.logging.useUTC ? 'UTC' : false;
set('logging.timezone', timezone);
unset(settings, 'logging.UTC');
unset(settings, 'logging.useUTC');
log(`Config key "logging.useUTC" is deprecated. It has been replaced with "logging.timezone"`);
}
};
Expand Down

0 comments on commit e1258ed

Please sign in to comment.