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

log4j:ERROR Error during sending GELF message. Error code: 11. #129

Open
gabohurtado opened this issue Apr 4, 2019 · 0 comments
Open

log4j:ERROR Error during sending GELF message. Error code: 11. #129

gabohurtado opened this issue Apr 4, 2019 · 0 comments

Comments

@gabohurtado
Copy link

Hello, somebody know what is the meaning of this error???
I'm trying send logs to Graylog with a different IP to my APP. This is my configuration:

Define the graylog2 destination

log4j.appender.graylog2=org.graylog2.log.GelfAppender
log4j.appender.graylog2.graylogHost=tcp:192.168.254.184
log4j.appender.graylog2.graylogPort=12201
#log4j.appender.graylog2.originHost=192.168.250.96
log4j.appender.graylog2.facility=gelf-jsf-ui
log4j.appender.graylog2.layout=org.apache.log4j.PatternLayout
log4j.appender.graylog2.extractStacktrace=true
log4j.appender.graylog2.addExtendedInformation=true
log4j.appender.graylog2.additionalFields={'environment': 'DEV', 'application': 'GEOPromotions-Console'}

Send all INFO logs to graylog2

log4j.rootLogger=INFO, graylog2
log4j.category.uy.com.geocom.geopromotion.jsf.ui.view.UsersViewBean=INFO, graylog2
log4j.category.uy.com.geocom.geopromotion.jsf.ui.view.RolesViewBean=INFO, graylog2

Please help me

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

No branches or pull requests

1 participant