Skip to content

Programmatically creating tcp appender #918

Answered by philsttr
GabrielJuliao asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, you would follow the same approach as the answers to this Stack Overflow question regarding logback programmatic configuration, but instead of constructing and configuring those other appenders, you would construct and configure a LogstashTcpSocketAppender. The xml element names seen in the readme correlate to setter/adder methods on the appender and its nested objects.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by GabrielJuliao
Comment options

You must be logged in to vote
6 replies
@GabrielJuliao
Comment options

@philsttr
Comment options

@GabrielJuliao
Comment options

@GabrielJuliao
Comment options

@GabrielJuliao
Comment options

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