Skip to content

Multiple sinks with different output formats #1504

Answered by hawkw
nstinus asked this question in Q&A
Discussion options

You must be logged in to vote

This can be accomplished with output filtering. To also have separate formats, you can construct two fmt layers, using a custom event formatter for one, and giving each one a writer with a different output format.

Hope that helps --- let me know if you have additional questions?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@nstinus
Comment options

@davidbarsky
Comment options

Answer selected by hawkw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants