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

Add timestamp to log messages from bubuku #176

Merged
merged 2 commits into from
Jul 8, 2021
Merged

Conversation

a1exsh
Copy link
Contributor

@a1exsh a1exsh commented Jul 5, 2021

It's harder to debug issues without the timestamps.
The format matches the one we currently use for the Kafka server.

Internal ticket: 789

It's harder to debug issues without the timestamps.
The format matches the one we currently use for the Kafka server.
@a1exsh
Copy link
Contributor Author

a1exsh commented Jul 5, 2021

At the same time, why not use YYYY-MM-dd format, since we control both?..

https://github.com/zalando-nakadi/bubuku/blob/master/docker/log4j.properties#L20

@antban
Copy link
Contributor

antban commented Jul 8, 2021

👍

@adyach
Copy link
Contributor

adyach commented Jul 8, 2021

@a1exsh lets go with the same format for both [%d{yyyy-MM-dd HH:mm:ss.SSSXXX}]

@a1exsh
Copy link
Contributor Author

a1exsh commented Jul 8, 2021

@adyach The timezone part you suggested is problematic in Python (because msecs is not part of asctime), but I think we can live without it. The important part is being consistent in both places.

@adyach
Copy link
Contributor

adyach commented Jul 8, 2021

👍

1 similar comment
@a1exsh
Copy link
Contributor Author

a1exsh commented Jul 8, 2021

👍

@a1exsh a1exsh merged commit 7f54952 into master Jul 8, 2021
@a1exsh a1exsh deleted the log-py-timestamp branch July 8, 2021 09:32
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.

None yet

3 participants