Hello!
everyone, I meet a problem when using my self defined category.
I make my own category -- SBDCategory with one new priority log function.
SBDCategory.jndi(String)
they are implememt as following.
=================================================================
public class SBDCategory extends Category {
......................................
public void jndi(String message) {
super.log(SBDPriority.JNDI, message);
}
.....................................
==================================================================
it can work well except that when I adding "l" to layout to print
infomation of the caller wich generated the logging event.
instead of print the location that calling this log function.
it report the "[SO21Util.SBDCategory.jndi(SBDCategory.java:61) INFO ] "
just the location of the adding function to subclass.
but the original priority function(like warn) can report its caller function location
correctly.
how can I do ???
thanks a lot .
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]