syslog dateformat + log4j syslog appender

2016-10-07 Thread fabryprog
%c{2} %x - %m%n Can you help me? -- View this message in context: http://camel.465427.n5.nabble.com/syslog-dateformat-log4j-syslog-appender-tp5788476.html Sent from the Camel - Users mailing list archive at Nabble.com.

syslog

2022-02-27 Thread ????????????
nettyudpunmashal().syslog()??

Re: syslog dateformat + log4j syslog appender

2016-10-07 Thread Matt Sicker
The syslog date format in log4j 2 is "MMM dd HH:mm:ss" (SimpleDateFormat style). On 7 October 2016 at 04:09, fabryprog wrote: > Hello everyone, > > I'm trying to figure out how to set log4j conversionPattern to be > compatible > with the SyslogDateFor

Re: syslog

2022-02-27 Thread Andrea Cosentino
Please, can you translate to English? Il dom 27 feb 2022, 19:17 花儿与少年, <86744...@qq.com.invalid> ha scritto: > 使用netty接收udp消息使用unmashal().syslog()解析中文乱码,应该如何解决

Re: syslog

2022-02-27 Thread Willem Jiang
Here is the translated question. "Using netty to receive udp messages using unmashal().syslog() to parse Chinese message, I got the error encoded message, how should I solve?" I think it more like an encoding error, and we need more detail context information. Willem Jiang Twitter: w

Sending to Syslog

2014-12-10 Thread mtod09
I would like to setup a ActiveMQ queue for syslog messages and use Camel to send to the Syslog Server. I looked at the following link but I'm unable to get this to work. http://camel.apache.org/syslog.html I'm using Spring for the configuration. http://www.springframework.org/sc

Netty with syslog decoder

2011-09-02 Thread trivedikumarb
Hi All, I am trying to expose TCP endpoint using Netty [from('netty:tcp://localhost:12346?sync=false&allowDefaultCodec=false&encoding=UTF-8&disconnect=true')], from the client I am sending a big syslog message. At the server side, I am receiving the message as chunks ins

Re: Sending to Syslog

2014-12-10 Thread Claus Ibsen
Hi Isn't there more details about why syslog cannot be created? Also do you have the JARs on the classpath for it? And what version of Camel do you use? On Wed, Dec 10, 2014 at 7:16 PM, mtod09 wrote: > I would like to setup a ActiveMQ queue for syslog messages and use Camel to >

Re: Sending to Syslog

2014-12-11 Thread mtod09
Thanks for the response. I get errors when I try using the dataFormats element. Error: "because of Data format 'syslog' could not be created" Seems like there is a Jar missing but I saw no reference to it

Re: Sending to Syslog

2014-12-11 Thread Taariq Levack
Hi Mike 2.14.0 camel-activemq is using the 5.10 ActiveMQ client. The doc you linked to earlier shows the dependency on camel-syslog, with maven you just include camel-syslog as a dependency and the data format is defined in there, along with it's dependencies. If you're not using maven

Re: Sending to Syslog

2014-12-11 Thread Daniel Pocock
On 12/12/14 06:57, Taariq Levack wrote: > Hi Mike > > 2.14.0 camel-activemq is using the 5.10 ActiveMQ client. > > The doc you linked to earlier shows the dependency on camel-syslog, with > maven you just include camel-syslog as a dependency and the data format is > defined

Re: Sending to Syslog

2014-12-12 Thread mtod09
I think I'm seeing a pattern. I thought I could do this using just Spring XML and no code. I'm not a Java programmer so I was hoping to use Spring XML to do all this work. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/Sending-to-Syslog-tp5760517p57

Re: Sending to Syslog

2014-12-14 Thread Claus Ibsen
Hi You need to add JARs to the lib/camel directory of ActiveMQ camel-syslog camel-netty 3.9.4 commons-pool 1.6 camel-mina mina 1.1.7 On Fri, Dec 12, 2014 at 4:33 PM, mtod09 wrote: > I think I'm seeing a pattern. > > I thought I could do this using just Spring XML and no code.

Re: Sending to Syslog

2014-12-16 Thread mtod09
a/spring http://camel.apache.org/schema/spring/camel-spring.xsd";> http://camel.apache.org/schema/spring";> Thanks Mike -- View this message in context: http://camel.465427.n5.nab

Re: Sending to Syslog

2014-12-16 Thread mtod09
th systems are local. Thanks Mike -- View this message in context: http://camel.465427.n5.nabble.com/Sending-to-Syslog-tp5760517p5760776.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Sending to Syslog

2014-12-16 Thread Claus Ibsen
his would have an issue both systems are local. > > Thanks > > Mike > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Sending-to-Syslog-tp5760517p5760776.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Clau

Re: Sending to Syslog

2014-12-16 Thread mtod09
Ok I have the solution now. I added sync=false to the uri It was using request / reply model and waiting for a response. Thanks for all the help. Mike -- View this message in context: http://camel.465427.n5.nabble.com/Sending-to-Syslog-tp5760517p5760780.html Sent from the Camel - Users

Unable to consume syslog messages

2013-01-03 Thread sscott
I'm attempting to use camel-syslog as detailed at http://camel.apache.org/syslog.html to consume syslog messages. I'm using Camel 2.10.2, Oracle JDK 1.6.0_31 64-Bit on CentOS 6.2. I set up a simple test using Netty: val ctx = new DefaultCamelContext val dataFo

Re: Netty with syslog decoder

2011-09-03 Thread Claus Ibsen
There is a camel-syslog component. Maybe there is some pieces in there you can use? On Fri, Sep 2, 2011 at 8:57 PM, trivedikumarb wrote: > Hi All, > > I am trying to expose TCP endpoint using Netty > [from('netty:tcp://localhost:12346?sync=false&allowDefaultCodec=false&

Re: Netty with syslog decoder

2011-09-04 Thread trivedikumarb
Hi Claus Ibsen, Thank you for responding on this, I have already gone thru camel-syslog component, it just provides a DataFormat to convert BSDSyslog stream into string, but it doesn't have any codec implementation to collect all the data over TCP. I am looking for help in how to create m

Re: Unable to consume syslog messages

2013-01-08 Thread sscott
nputStream with value null." In case anybody ever has this problem in the future, it was caused by using maven-assembly-plugin to package all the code into a jar-with-dependencies. I'm assuming it's a TypeConverter / MANIFEST.MF issue. -- View this message in context: http://c

Re: Unable to consume syslog messages

2013-01-09 Thread Claus Ibsen
dencies. > I'm assuming it's a TypeConverter / MANIFEST.MF issue. > Thanks for sharing your solution to the problem. Yeah be careful with the packaginging an uber JAR thingy. The content in the various files in the META-INF dir need to be merged together, and not override each

Hoe to get camel-quarkus-syslog

2020-01-05 Thread Imran Raza Khan
I want to use camel-quarkus-syslog but its not available or i am using wrong artifcatid? org.apache.camel.quarkus camel-quarkus-syslog

Writing to local syslog with camel

2012-03-12 Thread karpaczio
Hi I'm looking for easiest way to redirect message to the local syslog using camel. (sth like .to("syslog:args")) Here is what I've found so far: * use camel-syslog component - usefull when you need to consume syslog message or integrate with mina or netty component, but

Re: Hoe to get camel-quarkus-syslog

2020-01-05 Thread Andrea Cosentino
There is no extension for syslog. Please raise an issue. Thanks Il dom 5 gen 2020, 17:32 Imran Raza Khan ha scritto: > I want to use camel-quarkus-syslog but its not available or i am using > wrong artifcatid? > > > org.apache.camel.quarkus > camel-quarkus-syslog > >

Re: Writing to local syslog with camel

2012-03-12 Thread Larry Meadors
On Mon, Mar 12, 2012 at 9:56 AM, karpaczio wrote: >  I'm looking for easiest way to redirect message to the local syslog using > camel. (sth like .to("syslog:args")) Here is what I've found so far: Both slf and log4j have syslog appenders. I'd use one of those. Larry

Re: Writing to local syslog with camel

2012-03-12 Thread Claus Ibsen
On Mon, Mar 12, 2012 at 5:07 PM, Larry Meadors wrote: > On Mon, Mar 12, 2012 at 9:56 AM, karpaczio wrote: >>  I'm looking for easiest way to redirect message to the local syslog using >> camel. (sth like .to("syslog:args")) Here is what I've found so far:

Re: Writing to local syslog with camel

2012-03-13 Thread karpaczio
.n5.nabble.com/Writing-to-local-syslog-with-camel-tp5558225p5560396.html Sent from the Camel - Users mailing list archive at Nabble.com.

Syslog data format incorrect parsing of structured data

2015-04-21 Thread Sameer Babu K K
According to RFC 5424 syslog structured data can be like the below examples:    All examples in this section show only the structured data part of    the message.  Examples should be considered to be on one line.  They    are wrapped on multiple lines in this document for readability    purposes

Re: Syslog data format incorrect parsing of structured data

2015-04-22 Thread Claus Ibsen
Hi You are welcome to log a JIRA and work on a patch to fix this http://camel.apache.org/support On Tue, Apr 21, 2015 at 11:55 PM, Sameer Babu K K wrote: > According to RFC 5424 syslog structured data can be like the below examples: > > >All examples in this section show only th

Re: Syslog data format incorrect parsing of structured data

2015-04-22 Thread Willem Jiang
22, 2015 at 5:57:38 AM, Sameer Babu K K (sameer...@yahoo.com.invalid) wrote: > According to RFC 5424 syslog structured data can be like the below examples: > > > All examples in this section show only the structured data part of > the message. Examples should be considered to