Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 7 commits into from
Sep 4, 2018

Conversation

jbudz
Copy link
Member

@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 Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Aug 1, 2018
@elasticmachine
Copy link
Contributor

💔 Build Failed

@@ -73,7 +73,7 @@ error messages.

[[logging-verbose]]`logging.verbose:`:: *Default: false* Set the value of this setting to `true` to log all events, including system usage information and all requests. Supported on Elastic Cloud Enterprise.

`logging.useUTC`:: *Default: true* Set the value of this setting to `false` to log events using the timezone of the server, rather than UTC.
`logging.timezone`:: *Default: UTC* Set to the canonical timezone id to log events using that timezone.
Copy link
Contributor

@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
Member 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
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💔 Build Failed

@jbudz
Copy link
Member Author

jbudz commented Aug 2, 2018

retest

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Copy link
Contributor

@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
Contributor

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

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@epixa
Copy link
Contributor

epixa commented Aug 29, 2018

@jbudz What's the status here?

@jbudz
Copy link
Member 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
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 Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants