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

WIP: Add macros for using the OTP 21.0+ logger #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

codeadict
Copy link
Contributor

@codeadict codeadict commented Oct 18, 2020

This is part of an evil plan to transition from lager to the OTP 21.0 logger as the VerneMQ logging framework.

But why, what does logger can offer?

  • Structured logs including JSON logs (container and DevOps people love these)
  • overload protection mechanisms
  • default logs metadata
  • one less dependency to worry about, and in the future lager plans to default to the logger
  • plugins don't have to include lager, when I was developing plugins had problems a few times from using a different lager version than VerneMQ had

More info at https://ferd.ca/erlang-otp-21-s-new-logger.html

Upcoming series of PRs coming to other Verne Repos and documentation.

@ioolkos
Copy link
Contributor

ioolkos commented Oct 18, 2020

great plan! :)

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