logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ceki Gülcü <...@qos.ch>
Subject RE: Log4J config file
Date Fri, 08 Jun 2001 07:30:39 GMT
At 09:04 08.06.2001 +0200, you wrote:
>Dear Ceki,
>-----Original Message-----
>From: Ceki Gülcü [mailto:cgu@qos.ch]
>Sent: Donnerstag, 7. Juni 2001 19:02
>To: LOG4J Users Mailing List
>Subject: RE: Log4J config file
>This is partially true. Any setter method in an appender or layout
>corresponds to a configurable property. However, the parameter for the
>setter must be either a java.lang.String, an int, a long, a boolean or
>org.apache.log4j.Priority. Other types are not supported, in particular
>com.idoox.nbm.log4j.view.MyOutputStream is not suppoted. 
>Hope this helps. Ceki
>>> your answer arises a question: which class is responsable for the
>supported argument object types? That means, could this class be extended
>(generic support) to support all kind of objects?


See convertArg() method in org.apache.log4j.config.PropertySetter. Yes, you could extend this
class/method. Ceki

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

View raw message