ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steve Loughran <ste...@apache.org>
Subject Re: How to silence errors in SQL task or log
Date Wed, 21 Mar 2007 10:19:56 GMT
Hans Schwaebli wrote:
> Can anybody tell my why <redirect /> cannot be used for the SQL task?

because sql task is not executing an external program

>   I want to silence the errors if they occur when running the SQL task. But it didn't
work. Any solution? Best would be to log all errors of a certain SQL task on info level. This
flexibility I am missing.

log through log4j and set your log4j properties file to log sql errors 
at info level?

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


Mime
View raw message