-
Notifications
You must be signed in to change notification settings - Fork 115
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
Problem with the how to article #94
Comments
Hi and welcome! Did you just download Jar from Maven Central Repo? Is there any reason you are not using Maven to handle dependencies? Please answer following:
The how-to Wiki page was a bit out of date. Please refer to https://github.com/t0xa/gelfj/blob/master/README.md for all configuration options. Thanks |
Hi,
echo '{"version": "1.1","host":"lab.lnix.de","short_message":"A short message that helps you identify what is going on","full_message":"Backtrace here\n\nmore stuff","level":1,"_user_id":9001,"_some_info":"foo","_some_env_var":"bar"}' | nc -w 1 -u graylog.lnix.de 12201
[...] log4j.rootLogger=INFO, graylog2 log4j.appender.graylog2=org.graylog2.log.GelfAppender Thanks. |
Hi, The configuration looks good. May I suggest you try latest library version - 1.1.12 @ https://search.maven.org/remotecontent?filepath=org/graylog2/gelfj/1.1.12/gelfj-1.1.12.jar I also highly recommend to use Maven or Gradle to handle all your dependencies. Let me know how it will works. Regards, |
Hello Anton,
Is this a problem? Did I add the karaf-gelfj-1.1.12.jar to my startup.properties? Regards |
Hello Anton. I get the following errors: ./karaf server |
Hi @lnix1988, Looking at the message the library is still not found in the classpath. |
which library? The jar file (karaf-gelfj-1.1.12.jar) is in my classpath. I can see it with ps aux |grep java |grep karaf-gelfj-1.1.12.jar |
Hello,
I'm a beginner and have trouble with the implementation of graylog2.
My AM-Q doesn't have a pom.xml, so I will use a jar file. I downloaded the jar file gelfj 1.1.7 (http://mvnrepository.com/artifact/org.graylog2/gelfj/1.1.7) and implement the file to my classpath. Then I configurated my graylog2 appender and change the log4j.rootLogger.
But it doesn't work. Didi I forgot something? What is with a graylog handler?
Thank you.
Regards
lnix1988
The text was updated successfully, but these errors were encountered: