You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2017/07/24 15:50:08 UTC
[Bug 53506] output is duplicated when using redirector inside exec
https://bz.apache.org/bugzilla/show_bug.cgi?id=53506
--- Comment #3 from Kostas Filios <ko...@gmail.com> ---
I just reproduced this issue using 1.9.6
It turns out there's a workaround. Here's what produces duplicate output:
<exec>
<redirector output="logfile"
alwayslog="true"
append="true" />
</exec>
Here's what doesn't (I've added the error="" to point to the exact same file):
<exec>
<redirector output="logfile"
error="logfile"
alwayslog="true"
append="true" />
</exec>
Instead of adding error="" you can also add errorproperty="". Generally, just
make sure you don't only provide output="", as it will produce duplicate output
to the console when combined with alwayslog="true".
--
You are receiving this mail because:
You are the assignee for the bug.