multiple logger factories - configure ?

2002-08-15 Thread Havaldar, Raghu
Hi, I need to use multiple custom loggers, and in turn lead me to create multiple logger factories. I am using v 1.2.5 Is there a way that I can couple a logger with it's own logger factory in a log4j config file ? I understand it can easily be done programmatically. I can however specify a log

RE: Advanced questions ? (I hope)

2002-07-24 Thread Havaldar, Raghu
A possible solution for # 1: - implement your own logger. Override the various error/warn/etc methods - use contextual info(utilizing MDC) to identify which log files that entries need to be dumped in - the context info can contain an 'object id' identifying the specific object, on which the log

RE: Logging to separate files

2002-07-22 Thread Havaldar, Raghu
There are multiple solutions, a simpler one of which is below: - create 2 loggers, each hooked with a FileAppender. - have your component log to those separate loggers. example config: log4j.rootLogger=DEBUG, log4j.logger.logger1=INFO,fileAppender1 log4j.logger.logger2=INFO,fileAppender2 log

RE: CompositeRollingAppender: does it work ?

2002-07-18 Thread Havaldar, Raghu
with CompositeRollingAppender. They work fine (except that it needs to be synced with the 1.2.5 API of the framework). -raghu -Original Message- From: Havaldar, Raghu [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 18, 2002 1:21 PM To: [EMAIL PROTECTED] Subject: CompositeRollingAppender: do

CompositeRollingAppender: does it work ?

2002-07-18 Thread Havaldar, Raghu
Has anyone got CompositeRollingAppender (from contribs) working ? It seems to be able to rollover based on time-only, and does not do it in combination with size. -raghu -- To unsubscribe, e-mail: For additional commands, e-mail:

configuration info ?

2002-07-18 Thread Havaldar, Raghu
Hi, I do not see any docs on the various config params that could be used for the PropertiesConfigurator. Have been using some based on the examples. This however is not sufficient, and incomplete. Has anyone come across a doc for configuration of loggers ? Has anyone created one that is compreh

CompositeRollingFileAppender compilation problems

2002-07-17 Thread Havaldar, Raghu
Hi, Am trying to use the Kevin-Steppe contributed CompositeRollingFileAppender class, but am having compilation problems. Am using JDK 1.3.1 on Win2K. The RollingCalendar class defined in DailyRollingFileAppender class is somehow not visible to the CompositeRollingFileAppender (though both are in