Hi All, In cluster environment I want to write all the log4j logs at central location.
I can not use the web service appender as it gets called for every log request. So I have written Custom Appender for the log4j. This will collect all the logging request in the buffer. Once the buffer is full it will call the logging service to put it in the central location. logging service should not be exposed to the external world as it should not be called from outside service mix. In the log4j Appender class I do not get the DeliveryChannel. so I can not call the logging service. For this how I should configure the logging service so that it can be called from log4j custom appender. Can I use camel routes for this? How I should give a call from outside service mix? Any comments/directions will be very helpful. Regards -Balu -- View this message in context: http://servicemix.396122.n5.nabble.com/Calling-service-from-log4j-Appender-for-logging-in-cluster-environment-tp832372p832372.html Sent from the ServiceMix - User mailing list archive at Nabble.com.
