Here is what could be added to the getLogger(String child)
> method
>
> public Logger getLogger(String child){
> Logger child = // create child logger here;
> this.debug("Created Logger "+ child.logCategory.getName(),
> this.baseName);
> }
>
Oops!! the code should be:
public Logger getLogger(String child){
Logger child = // create child logger here;
Logger logger = Logger.getInstance(LogCategory.OPENEJB,
Logger.class).getLogger("logger");
logger.debug("Created Logger "+ child.logCategory.getName(),
this.baseName);
...
...
return child;
}
--
Karan Singh Malhi