Bug 44326

Summary: POILogger log(level,string,exception) calls itself in an endless loop
Product: POI Reporter: Dirk Vanhaute <D.Vanhaute>
Component: POI OverallAssignee: POI Developers List <dev>
Status: RESOLVED FIXED    
Severity: minor    
Priority: P2    
Version: 3.0-FINAL   
Target Milestone: ---   
Hardware: PC   
OS: other   

Description Dirk Vanhaute 2008-01-30 07:23:01 UTC
The method 
    public void log(final int level, final Object obj1,
                    final Throwable exception)
    {
        log(level , obj1, exception);
    }

recursively calls itself.  I suppose the exception should be PrintStackTrace()d 
together with the obj1.toString()
As I am using commons, I would like to see this interface extended with log
(final int level, final Throwable exception)
Comment 1 Nick Burch 2008-02-01 04:31:17 UTC
Try with svn trunk. I've fixed it to avoid the infinite loop, added
log(level,throwable), and updated the CommonsLogger to take advantage of that