Re: How to filter specific characters to not to log

2006-09-20 Thread Bender Heri
A common way to enter binary data in xml is - use base64 encoding (not readable for humans, size is one third bigger than original) - translate to hex string (readable for humans, size is twice as big than original) Heri -Original Message- From: Praveen Kumar Hasthalapuram

Re: problem with alternative log4j.properties-file

2006-09-20 Thread Bender Heri
1. It is not recommended to subclass Logger. It would be better to write a Wrapper if you have particular business rules to implement. 2. In order to analyze your problem you should provide more details: - original property file - alternative property file - name(s) of involved loggers - Where

RE: Add appender programmatically after logger configured initially with PropertyConfigurator

2006-09-20 Thread Donna Johnson
Thank you for your response, Kamal. I added a call to activateOptions() on each appender, but that still does not work. I set log4j.debug to true, and I see debug trace for setting the configuration through the logger_config.properties file, but there is no trace for the appenders added in the

Re: log4j doesn't log files when weblogic is run as a windows service.

2006-09-20 Thread Mirza Abbas Raza
Sorry about the late reply. Got stuck in a task. My replies are: 1. We are using log4j 1.2.7. I don't see the directories being created. 3. I put breakpoints in eclipse and check the log4j properties file being loaded. It is the right one. As advised, I set log4j.debug=true, it doesn't help. I