Skip to content

[config] logging.useUTC -> logging.timezone#21561

Merged
jbudz merged 7 commits intoelastic:masterfrom
jbudz:config/timezone
Sep 4, 2018
Merged

[config] logging.useUTC -> logging.timezone#21561
jbudz merged 7 commits intoelastic:masterfrom
jbudz:config/timezone

Conversation

@jbudz
Copy link
Copy Markdown
Contributor

@jbudz jbudz commented Aug 1, 2018

This deprecates logging.useUTC and replaces it with logging.timezone. The default timezone is still UTC. To use a local timezone set logging.timezone: false We'll have a followup PR targeting 7.0 to remove the deprecation notice and default to a local timezone (and remove the optional 'false' schema).

Explicit timezones help in situations such as docker containers where the system timezone isn't necessarily setup to be your timezone.

Closes #11038.

@jbudz jbudz added review Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t// labels Aug 1, 2018
@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

Copy link
Copy Markdown
Member

@tylersmalley tylersmalley Aug 1, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we link here? https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

And provide an example like US/Pacific?

I am concerned that folks will not easily understand what the "canonical timezone id" they need to provide would be.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added with 9629036.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Copy Markdown
Contributor

💔 Build Failed

@jbudz
Copy link
Copy Markdown
Contributor Author

jbudz commented Aug 2, 2018

retest

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Copy link
Copy Markdown
Member

@tylersmalley tylersmalley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tylersmalley
Copy link
Copy Markdown
Member

Looks like there is a conflict with the docs. Want to resolve that and merge this PR?

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@epixa
Copy link
Copy Markdown
Contributor

epixa commented Aug 29, 2018

@jbudz What's the status here?

@jbudz
Copy link
Copy Markdown
Contributor Author

jbudz commented Sep 4, 2018

good to go, i'm going to do a fresh ci run with master merged and then i'll get it committted

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@jbudz jbudz merged commit e89abb3 into elastic:master Sep 4, 2018
jbudz added a commit to jbudz/kibana that referenced this pull request Sep 4, 2018
* [config] logging.useUTC -> logging.timezone

* docs

* [env] exit if starting as root

* fix import path

* add link and timezone example

* Revert "[env] exit if starting as root"

This reverts commit f6e9090833a5180fe360a9ff54543c37c0ca3a58.
jbudz added a commit that referenced this pull request Sep 5, 2018
* [config] logging.useUTC -> logging.timezone

* docs

* [env] exit if starting as root

* fix import path

* add link and timezone example

* Revert "[env] exit if starting as root"

This reverts commit f6e9090833a5180fe360a9ff54543c37c0ca3a58.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review Team:Core Platform Core services: plugins, logging, config, saved objects, http, ES client, i18n, etc t//

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants