Skip to content

Conversation

dvallant
Copy link

Hey @dsouzajude,

In this PR logging is changed from built-in golang logging to logrus. With the new environment variable LOG_LEVEL the preferred log level can be set on start up.

Further, this PR adds some minor enhancements:

  • Update build to golang 1.20
  • Compile regex for empty messages outside loop

If you prefer I could create separate PRs for them :-)

Best wishes,
Dorian

To increase the performance the regex pattern to find empty log
messages was put outside the loop.
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