Hi,

I'm making a wrapper for the Logger class that will have some additional
methods defined.  I would like the configuration for these methods to be
editable through the log4j.properties file.

The wrapper would be something like this:

public class MyLogger {
    private Logger logger;

    [standard log4j type methods using logger]

    public void message(String sessionId, byte[] message) {
        ...
    }

}

And the properties file would be something like this:

[standard log4j.properties entries]

my.package.MyLogger.messages=true

Is this possible or should I try a different strategy??
Thanks for your time,

Jeff



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 10/24/2002


--
To unsubscribe, e-mail:   <mailto:log4j-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:log4j-user-help@;jakarta.apache.org>

Reply via email to