xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jthaeml...@oreillyauto.com
Subject Re: [ERROR]: Logger not set
Date Wed, 26 Dec 2001 22:10:11 GMT

using org.apache.log, you can do the following, or modify for your needs

Hierarchy hierarchy = Hierarchy.getDefaultHierarchy();
PatternFormatter formatter = new PatternFormatter( "
[%{priority}]:%{message}\n%{throwable}" );
LogTarget target = new StreamTarget(System.out, formatter);
hierarchy.setDefaultLogTarget(target);
Logger log = hierarchy.getLoggerFor("fop");

JohnPT



                                                                                         
                                              
                    fop-user-return-170-jthaemlitz=oreillyauto.com@XML.                  
                                              
                    APACHE.ORG                                                To:     "'fop-user@xml.apache.org'"
                      
                                                                               <fop-user@xml.apache.org>
                               
                    12/26/01 03:56 PM                                         cc:        
                                              
                    Please respond to fop-user                                Subject:   
 [ERROR]: Logger not set                      
                                                                                         
                                              
                                                                                         
                                              




How does one set the logger ?

Thanks
Lakshmi









Mime
View raw message