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

Date Time Format is not working for the topic logs #1862

Closed
Kaushik-27 opened this issue Oct 27, 2020 · 1 comment
Closed

Date Time Format is not working for the topic logs #1862

Kaushik-27 opened this issue Oct 27, 2020 · 1 comment
Milestone

Comments

@Kaushik-27
Copy link

Hello,
Please find the below details:

Configuration:

=================================================================

Logging

=================================================================

log_dest topic
log_type all
connection_messages true
log_timestamp true
log_timestamp_format %Y-%m-%dT%H:%M:%S

Issue:

When "log_dest stdout" then the time format is proper as configured.
But if "log_dest topic" then only timestamp is sent.

Log e.g. :
"message":"1603208994: Socket error on client b5edcb96-f7b5-40bb-825f-62e33fc749ff1603171454080, disconnecting."

ralight added a commit that referenced this issue Oct 27, 2020
@ralight
Copy link
Contributor

ralight commented Oct 27, 2020

You're quite right, thanks for spotting it. I've just pushed a fix for it.

@ralight ralight closed this as completed Oct 27, 2020
@ralight ralight added this to the 2.0 milestone Oct 27, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants