Hi Karl Heinz,

the interface and implementation of the logger are separated. It should pick up the logger implementation as defined for the Maven runtime. If that's not the case, then we have an issue here.

thanks,
Robert

On Sat, 06 Aug 2016 13:01:55 +0200, Karl Heinz Marbaise <[email protected]> wrote:

Hi,

i have a question concerning DI

If I have the following code:

public class XX {

     @Inject
     private ScmManager scmManager;


During the run in Maven this will automatically looked up and injected into this attribute...so fine so far...

But is it possible to provide a different logger instance into this instead of the default one which loggs on console (info level) so I can control the level of output or maybe change to output to log into file instead of the console ?


Kind regards
Karl Heinz Marbaise

---------------------------------------------------------------------
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