[EMAIL PROTECTED] writes:

>Until that's possible, I can't see how we can truly support a '-debug' 
>flag. 

>Can you?

Well, I'd simply change the level that is reported to the console. If
-debug is not set, don't report anything below "warn" level to the
console. So the application keeps logging at "debug" level but the
results won't show up.

So you don't change the level at which the application logs but the
level at which the application reports.

        Regards
                Henning



>--
>dIon Gillard, Multitask Consulting
>Blog:      http://blogs.codehaus.org/people/dion/


>"Henning P. Schmiedehausen" <[EMAIL PROTECTED]> wrote on 08/08/2003 
>08:53:32 PM:

>> [EMAIL PROTECTED] writes:
>> 
>> use commons-logging and let the user decide via environment. Default
>> to log4j.
>> 
>>    Regards
>>       Henning
>> 
>> >--=_alternative 0029A21DCA256D7C_=
>> >Content-Type: text/plain; charset="US-ASCII"
>> 
>> >Brett Porter <[EMAIL PROTECTED]> wrote on 08/08/2003 05:17:21 
>PM:
>> 
>> >> My non-committer +1
>> >> 
>> >> This would allow most of what I proposed in:
>> >> http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-553
>> >> Via a log4j configuration file.
>> >> 
>> >> 3 questions:
>> >> 1) where does this leave maven.log? Just plugin doco? Should it also
>> >> (already?) use commons-logging?
>> >It will hold any commons code logging messages.
>> 
>> >> 2) I assume you mean commons-logging in your second point?
>> >Nope, there's no way to set/change log levels in commons logging AFAIK.
>> 
>> >> 3) will log4j be configured by default, or just the default of jdk 
>1.4 
>> >vs
>> >> stdout?
>> >Log4j if it's up to me.
>> >--
>> >dIon Gillard, Multitask Consulting
>> >Blog:      http://blogs.codehaus.org/people/dion/
>> 
>> 
>> 
>> >--=_alternative 0029A21DCA256D7C_=--
>> 
>> -- 
>> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
>> [EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/
>> 
>> Java, perl, Solaris, Linux, xSP Consulting, Web Services 
>> freelance consultant -- Jakarta Turbine Development  -- hero for hire
>> 
>> "You are being far too rational for this discussion." 
>>        --- Scott Robert Ladd in <[EMAIL PROTECTED]>
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> 

>--=_alternative 0002774BCA256D7F_=--

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen          INTERMETA GmbH
[EMAIL PROTECTED]        +49 9131 50 654 0   http://www.intermeta.de/

Java, perl, Solaris, Linux, xSP Consulting, Web Services 
freelance consultant -- Jakarta Turbine Development  -- hero for hire

"You are being far too rational for this discussion."  
       --- Scott Robert Ladd in <[EMAIL PROTECTED]>

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

Reply via email to