Dear All, Could you please tell me what changes should I make to the properties file and to the Bean programs to log messages to seperate files for each of the two applications.
Following is my properties file: log4j.rootCategory=DEBUG, A # log4j.appender.A=org.apache.log4j.RollingFileAppender log4j.appender.A.File=/export/home/log/testdata.log log4j.appender.A.MaxFileSize=100KB log4j.appender.A.MaxBackupIndex=1 log4j.appender.A.layout=org.apache.log4j.PatternLayout log4j.appender.A.layout.ConversionPattern=%d %-5p %c{1} %M - %m%n log4j.category.MyBean=DEBUG, A This is how I am instantiating the category : public final static Category logger = Category.getInstance(MyBean.class.getName()); Thanks, ag _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>