Of course the subject should be "DI of Components" ..

Kind regards
Karl Heinz
On 8/6/16 1:01 PM, Karl Heinz Marbaise 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]

Reply via email to