Bug 28124 - logging useless when using parallel task
Summary: logging useless when using parallel task
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.1
Hardware: PC All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on: 16906 25734
Blocks: 28128
  Show dependency tree
 
Reported: 2004-04-01 11:33 UTC by Oliver Dungey
Modified: 2008-11-24 03:58 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Dungey 2004-04-01 11:33:15 UTC
If you use a <parallel> block the logging from the parallel tasks is all mashed
together rendering it useless to anyone trying to check what happened.

To get round this I would recommend that logging is buffered in some way
(temporary file/stream) during parallel execution and then the logging is pushed
into the normal log stream when the <parallel> block is complete.

This brings another feature into play, all log messages need date/time stamps
against them. All targets should output a start and finish banner (with dates
and times).
Comment 1 Oliver Dungey 2004-04-01 11:35:28 UTC
This bug has a relationship to bug 25734 (parallel xml logging problems), bug
16906 (which has made changes to the parallel task) and bug 28122 (bug with
parallel with threadsPerProcessor).