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
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
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
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