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 On Thursday, September 13, 2018 at 3:32:57 PM UTC+1, Ketan Padegaonkar wrote: > > Do you have a stacktrace of the error? What jars did you copy to the lib > dir? > > On Thu, Sep 13, 2018, 7:47 PM Allan Benson <[email protected] > <javascript:>> wrote: > >> Hi >> >> Following these instructions >> <https://docs.gocd.org/current/advanced_usage/logging.html#example-logstash-setup>, >> >> I've downloaded the source code for logstash-logback-encoder, created jar >> files (described here >> <https://blog.jetbrains.com/idea/2010/08/quickly-create-jar-artifact/>) >> 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 >> >> >> >> >> >> ********************************************************************************************** >> 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 [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- ********************************************************************************************** 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
