ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David TROGDON" <David.TROG...@na.biomerieux.com>
Subject Re: Good guide on how to do logging with Ant
Date Wed, 23 Aug 2006 15:28:03 GMT

There are a few different loggers:

Default Logger
NoBannerLogger
MailLogger
AnsiColorLogger
XmlLogger


They are implemented similar to:

ant -logger org.apache.tools.ant.DefaultLogger
ant -logger org.apache.tools.ant.NoBannerLogger

etc


The xml logger needs a xmlLogger.file property that is set in the init
target, at the command line or a properties file that determins the xml
file to log to.

Mail logger has a whole group of properties passed via the standard -D
syntax or via property statement in the init target or a properties file

just lookup the MailLogger. properties for things like the mail host, from,
to, sucess, fail etc.



                                                                                         
                                            
                      "John Davis"                                                       
                                            
                      <davisjf@gmail.co        To:       "Ant Users List" <user@ant.apache.org>
                                      
                      m>                       cc:                                    
                                               
                                               bcc:                                      
                                            
                      08/23/2006 09:27         Subject:  Good guide on how to do logging with
Ant                                     
                      AM                                                                 
                                            
                      Please respond to                                                  
                                            
                      "Ant Users List"                                                   
                                            
                                                                                         
                                            
                                                                                         
                                            




Where can I get an example on using logging?  Is there a tutorial
available?

--
John F. Davis "JD"
http://www.skink.net

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org







---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message