Hi jeff-
I *believe* Nant.exe.config has the log4net threshold parameters e.g.
    <!--
        This section contains the log4net configuration settings.
        By default, no messages will be logged to the log4net logging 
infrastructure.
        To enable the internal logging, set the threshold attribute on the 
log4net element
        to "ALL".
        When internal logging is enabled, internal messages will be written to 
the 
        console.
    -->
    <log4net threshold="ALL">
        <appender name="ConsoleAppender" 
type="log4net.Appender.ConsoleAppender">
            <layout type="log4net.Layout.PatternLayout">
                <param name="ConversionPattern" value="[%c{2}:%m  - [%x] 
&lt;%X{auth}&gt;]%n" />
            </layout>
        </appender>

HTH
M-
  ----- Original Message ----- 
  From: Jeff Richter 
  To: nant-users@lists.sourceforge.net 
  Sent: Monday, February 18, 2008 1:58 PM
  Subject: [NAnt-users] Exec task streaming standard out


  Hi All,

   

  The default behavior of the Exec task seems to be to stream standard error to 
the console, but to butter standard out and only dump the buffer to the console 
(or log file for that matter) when the exec'd task completes.

   

  Can anyone tell me if there is also a way to also stream the standard out to 
the console?

   

  I've attempted setting the log4net threshold to ALL and changing the 
ConsoleLogger levels to INFO, but this only increases the verbosity of the NAnt 
output itself, but does not include standard error.

   

  Thanks!

   

  -Jeff

   

   



------------------------------------------------------------------------------


  -------------------------------------------------------------------------
  This SF.net email is sponsored by: Microsoft
  Defy all challenges. Microsoft(R) Visual Studio 2008.
  http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


------------------------------------------------------------------------------


  _______________________________________________
  NAnt-users mailing list
  NAnt-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/nant-users
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to