JMS appender, unusual API?

2009-03-12 Thread Sylvester
Hi, I've been using the JMS appender. Now, for this we need a log producer which actually has the JMS appender and sends out the logging events. Part#2 is the JMSSink, which receives these events. To get this working I am calling the main function of the org.apache.log4j.net.JMSSink class. Thi

Re: logging different object instances in different log files

2009-03-12 Thread Ceki Gulcu
Hello Horatiu, SiftingAppender is prefect for this type of separation. See http://logback.qos.ch/manual/appenders.html#SiftingAppender for more information. You would write a custom "discriminator" based on your business flow object. If you intend to pursue this venue, please respond on the log

log4j in diferent systems

2009-03-12 Thread vfpribeiro
Good day! I have my log4j.properties configured to work with Apache 2.2.9 under Windows Vista. And I have changed the root "C://Logs//app-spring.log" for "/var/log/logs4j/app-spring.log" to change for Apache 2.2.9 under Debian 5. When I've changed the OS log4j stopped working. Why, I have to as

logging different object instances in different log files

2009-03-12 Thread hstanciu
Hello! I have an object that models a business flow, let's say BizFlowObj(int BizFlowNumber). I want to log whatever is happening in one flow to one log, and another flow in another log (that means I want logging for an instance of a class and the classes used by that instance in one log file, an