Help needed with logstash-logback-encoder

285 views
Skip to first unread message

Allan Benson

unread,
Sep 13, 2018, 10:17:12 AM9/13/18
to go-cd
Hi

Following these instructions, I've downloaded the source code for logstash-logback-encoder, created jar files (described here) and copied them to the goserver\lib dir (on a Windows server). I've added a logback-include.xml file (Identical to the one on the instructions, just with a different IP in the destination) into the goserver\config dir. When I start the service, I get this error (log file attached):

ERROR in ch.qos.logback.core.joran.action.AppenderAction - Could not create an Appender of type [net.logstash.logback.appender.LogstashTcpSocketAppender]. ch.qos.logback.core.util.DynamicClassLoadingException: Failed to instantiate type net.logstash.logback.appender.LogstashTcpSocketAppender

Does anyone know where I'm going wrong? Are there any downloadable versions of the jar files?

Thanks



go-server-wrapper.log

Ketan Padegaonkar

unread,
Sep 13, 2018, 10:32:57 AM9/13/18
to go...@googlegroups.com
Do you have a stacktrace of the error? What jars did you copy to the lib dir?

**********************************************************************************************
Important Note
This email (including any attachments) contains information which is confidential and may be subject to legal privilege.  If you are not the intended recipient you must not use, distribute or copy this email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this email are not necessarily the views of IRESS Limited.

It is the duty of the recipient to virus scan and otherwise test the information provided before loading onto any computer system.
IRESS Limited does not warrant that the information is free of a virus or any other defect or error.
**********************************************************************************************

--
You received this message because you are subscribed to the Google Groups "go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Allan Benson

unread,
Sep 13, 2018, 11:04:41 AM9/13/18
to go-cd
Thanks for responding. 

I don't have a stacktrace, but if you could point me in the direction of some instructions to get you what you need I can try and get one for you.

I can't attach the jar file as it throws an error when I try an post the message. I've copied a file called logstash-logback-encoder.jar to the lib dir. The jar file contains other jar files (see list below), I've tried copying them into the lib dir separately as well as not putting them in there but it makes no difference. I've tried both v5.2 and 4.11 of logstash-logback-encoder.

commons-lang-2_6_jar_.jar
disruptor-3_4_2_jar_.jar
jackson-annotations-2_9_0_jar_.jar
jackson-core-2_9_6_jar_.jar
jackson-databind-2_9_6_jar_.jar
java-uuid-generator-3_1_5_jar_.jar
logback-access-1_2_3_jar_.jar
logback-classic-1_2_3_jar_.jar
slf4j-api-1_7_25_jar_.jar
Reply all
Reply to author
Forward
0 new messages