Skip to content

Conversation

@bausmeier
Copy link
Contributor

Hi Jembi team 👋

We're supporting an application which still makes use of Hearth at the moment and are doing a few small changes to make it easier to monitor and observe. We thought we'd contribute some of those changes back up stream.

This PR upgrades Winston from v2 to v3 which will then enable us to use the newer JSON log format to do structured logging.

If you're happy to accept PRs that'd be great, otherwise feel free to close this. There may be a few more incoming.

@bausmeier
Copy link
Contributor Author

@MattyJ007 I'm not sure if anyone at Jembi is actually still looking at this repo. Any chance you could review or get someone else to take a look?

Pass the initialised logger in as an argument to plugins so that they
can log using the same format and options as the rest of the
application. This is mainly for the sake of external plugins which get
mounted into the plugins folder since they can no longer require Winston
directly.
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.

1 participant