Skip to content

Config Option to Enable Logging with Local Time#9123

Merged
ivorybilled merged 4 commits intomasterfrom
configurableLocalTimeLogging
Apr 16, 2021
Merged

Config Option to Enable Logging with Local Time#9123
ivorybilled merged 4 commits intomasterfrom
configurableLocalTimeLogging

Conversation

@ivorybilled
Copy link
Copy Markdown
Contributor

This hopefully resolves #3462.

You'd be able to enable log_with_local_time so that all logs will use the time of the machine it's being ran on. This will apply for all types of logs (stdout, file).

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

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

🤝 ✅ CLA has been signed. Thank you!

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

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

@ivorybilled ivorybilled merged commit 1a86fd1 into master Apr 16, 2021
@ivorybilled ivorybilled deleted the configurableLocalTimeLogging branch April 16, 2021 18:39
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Aug 28, 2025
* Configurable local time logging

* make timezone configurable

* Address linter feedback.

* update with example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow logging in local timezone

3 participants