Maven 1.0 is pretty inconsistent - there are some System.out's, some
commons logging, and some buried in werkz (which are also system.out I
think).

Your best bet is to capture the output streams.

On 4/19/05, dan tran <[EMAIL PROTECTED]> wrote:
> I ran the same same thing few months back, and gave up
> on overriding log4j to send maven output to both console and a file.
> 
> is it a bug? or just maven1/jelly limitation?
> 
> 
> -D
> 
> On 4/18/05, Heiko Kundlacz <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > If I add a file appender to log4j.properties in maven.jar the maven
> > output will be also redirected to a file. Unfortunately not all of the
> > output. The goals and error output can't be redirected to a file, as
> > this output doesn't seem to be under control of log4j. Do you have any
> > idea if there is a chance to redirect also this output?
> >
> > Thanks
> >
> > Heiko
> >
> > INFO -  __  __
> > INFO - |  \/  |__ _Apache__ ___
> > INFO - | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> > INFO - |_|  |_\__,_|\_/\___|_||_|  v. 1.0.2
> > INFO -
> > INFO - Starting the reactor...
> > INFO - Our processing order:
> > INFO - IX-Project-B
> > INFO - IX-Project-A
> > INFO - +----------------------------------------
> > INFO - | Set Build Number: IX-Project-B
> > INFO - | Memory: 2M/3M
> > INFO - +----------------------------------------
> > build:start:
> >
> > build:
> > build:start:
> >
> > buildnumber:setBuildNumber:
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to