You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Gajo Csaba <cs...@cosylab.com> on 2011/01/13 14:46:33 UTC

How to override the default logger?

Hi there,

I would like to verride Maven's default logger with my own. How to do this?

I see that Mojo has a setLog() method, so I was thinking of making a 
mojo that executes in the first phase (validate), it would set the log 
with setLog()... and then all the other mojos that execute in the later 
phases would use this logger.

Would this work?

Thanks,
Csaba


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org