Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Does not logging

Status
Not open for further replies.

6151

Programmer
Dec 30, 2003
7
CA
After upgrading to ANT1.6 from ANT1.5, the same build scripts does not log anything. The log4j.properties used by the script is as shown below:

log4j.rootCategory=INFO,file
log4j.category.org.apache.tools.ant.Project=INFO,file,mail
log4j.appender.file=org.apache.log4j.RollingFileAppender
log4j.appender.file.layout=org.apache.log4j.TTCCLayout
log4j.appender.file.file=./logs/build.log
log4j.appender.file.maxBackupIndex=3
log4j.appender.file.maxFileSize=100KB
log4j.appender.mail=org.apache.log4j.net.SMTPAppender
log4j.appender.mail.layout=org.apache.log4j.HTMLLayout
log4j.appender.mail.Threshold=ERROR
log4j.appender.mail.SMTPHost=localhost
log4j.appender.mail.bufferSize=1
log4j.appender.mail.to=xxx@example.org
log4j.appender.mail.from=xxx@example.org
log4j.appender.mail.subject=Build Failure!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top