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

Implement structured logging #331

Merged
merged 2 commits into from
Jul 15, 2023
Merged

Conversation

jkroepke
Copy link
Contributor

HI,

thanks for you work! This PR implements structured logging. In kubernetes, the json log format can be used and passed to a ELK stack.

main.go Show resolved Hide resolved
log/main.go Show resolved Hide resolved
log/main.go Show resolved Hide resolved
Dockerfile Show resolved Hide resolved
@jkroepke jkroepke force-pushed the logging branch 3 times, most recently from 573b41b to c0174ef Compare May 31, 2023 20:46
@martin-helmich martin-helmich self-assigned this Jun 7, 2023
@jkroepke
Copy link
Contributor Author

@martin-helmich what did you thing about this, after I would rebase this?

@jkroepke
Copy link
Contributor Author

rebased

main.go Show resolved Hide resolved
@codeclimate
Copy link

codeclimate bot commented Jul 15, 2023

Code Climate has analyzed commit 6dd5899 and detected 4 issues on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 3
Bug Risk 1

View more on Code Climate.

Copy link
Owner

@martin-helmich martin-helmich left a comment

Choose a reason for hiding this comment

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

I think I broke this when merging #333; I've resolved the conflicts and all's looking well, so I'll go ahead and merge this one as well. Thanks for your contributions!

@martin-helmich martin-helmich merged commit 76552e7 into martin-helmich:master Jul 15, 2023
6 checks passed
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.

2 participants