Re: Writing to local syslog with camel
Problem with this solution is that SyslogAppender limits packet to 1024bytes. Additionally I do not like the idea, that part of the camel configuration is kept in *log4j.configuration (appender, format), but this argument is very personal :D -- View this message in context: http://camel.465427.n5.nabble.com/Writing-to-local-syslog-with-camel-tp5558225p5560396.html Sent from the Camel - Users mailing list archive at Nabble.com.
Writing to local syslog with camel
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 not very helpfull in this case * use camel-exec component - used to execute system commands so should work; did not test it yet * use camel-mina or camel-netty component - that would require syslog's reconfiguration, so that it will listen on some udp port; prefer not to do it this way * write new component - that's finality Thanks for any tips Lukas -- View this message in context: http://camel.465427.n5.nabble.com/Writing-to-local-syslog-with-camel-tp5558225p5558225.html Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Writing to local syslog with camel
On Mon, Mar 12, 2012 at 9:56 AM, karpaczio karpac...@gmail.com 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
On Mon, Mar 12, 2012 at 5:07 PM, Larry Meadors larry.mead...@gmail.com wrote: On Mon, Mar 12, 2012 at 9:56 AM, karpaczio karpac...@gmail.com 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. Yeah that is a proven solution. That said, we love contributions to Apache Camel. So if anyone steps up and create a syslog appender for camel-syslog, then that would be cool too. Larry -- Claus Ibsen - FuseSource Email: cib...@fusesource.com Web: http://fusesource.com Twitter: davsclaus, fusenews Blog: http://davsclaus.blogspot.com/ Author of Camel in Action: http://www.manning.com/ibsen/