logging multiple instances

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

logging multiple instances

kiranreddykasa
hi

I would like what is the best approach for logging multiple instances to single file ?

As of now I'm thinking to send all logs as message to jms endpoint and
 create one separate instance for logging alone ,which will be listening on jms and then writes to file.
Regards

kiran Reddy
Reply | Threaded
Open this post in threaded view
|

Re: logging multiple instances

kiranreddykasa
Or is it better to use JMSAppender or SocketAppender  of log4j ?

Regards

kiran Reddy
Reply | Threaded
Open this post in threaded view
|

Re: logging multiple instances

Christian Mueller
Administrator
Isn't really a Camel question. You should may ask this on the Apache
Logging user list...

Best,
Christian
-----------------

Software Integration Specialist

Apache Camel committer: https://camel.apache.org/team
V.P. Apache Camel: https://www.apache.org/foundation/
Apache Member: https://www.apache.org/foundation/members.html

https://www.linkedin.com/pub/christian-mueller/11/551/642


On Thu, Jun 27, 2013 at 3:36 PM, kiranreddykasa <[hidden email]>wrote:

> Or is it better to use JMSAppender or SocketAppender  of log4j ?
>
>
>
>
>
> -----
> Regards
>
> kiran Reddy
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/logging-multiple-instances-tp5734873p5734905.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|

Re: logging multiple instances

Preben.Asmussen
In reply to this post by kiranreddykasa
Hi
I have lately started using Splunk for all kind of jvm, camel insight.
There is a Splunk log4j appender that might be usefull for your usecase.