DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33708>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33708


[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|WONTFIX                     |




------- Additional Comments From [EMAIL PROTECTED]  2005-02-23 22:02 -------
Hello.
I am actually using log4j 1.3.
My issue with subclassing is to avoid the parameter handling as in
log.debug("hello" + object1 + " I am  " + object2); I am subclassing a logger
with VarArgs support so I can write the above as:
log.debug("hello %s I am %s",object1,object2). So this way Java won't build the
strings unless it is really necessary.
I am aware of Joran configurator but it does not handle the loggerFactory and
thus I get a ClassCastException runtime error.

The subclassing examples on log4j has the good.cat that calls one attention to
the categoryfactory=XXXXXXX configuration that is not present at bad.cat file. 

So the final question is: how can I subclass without getting a 
ClassCastException..

Thank you for your quick reply.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to