--- E:\src\extern\nant\aa\Task.cs	Tue Dec 30 09:54:18 2003
+++ E:\src\extern\nant\src\NAnt.Core\Task.cs	Wed Jan 14 15:35:08 2004
@@ -47,14 +78,21 @@
         #region Private Instance Fields
 
         private bool _failOnError = true;
-        private bool _verbose = false;
+        //private bool _verbose = false;
         private bool _ifDefined = true;
         private bool _unlessDefined = false;
@@ -72,9 +110,13 @@
         /// </summary>
         [TaskAttribute("verbose")]
         [BooleanValidator()]
-        public bool Verbose {
+        /*public bool Verbose {
             get { return (_verbose || Project.Verbose); }
             set { _verbose = value; }
+        } */
+        public bool Verbose {
+            get { return (Verbosity>=Level.Verbose); }
+            set { Verbosity = value?Level.Verbose:Level.Info; }
         }
 
         /// <summary>
@@ -150,7 +196,7 @@
                     if (FailOnError) {
                         throw;
                     } else {
-                        if (this.Verbose) {
+                        if (Verbosity>Level.Info) {
                             // insert empty line before error message
                             Log(Level.Error, string.Empty);
                             // output exception (with stacktrace) to build log
@@ -187,66 +233,6 @@
             }
         }
 
-        /// <summary>
-        /// Logs a message with the given priority.
-        /// </summary>
-        /// <param name="messageLevel">The message priority at which the specified message is to be logged.</param>
-        /// <param name="message">The message to be logged.</param>
-        /// <remarks>
-        /// <para>
-        /// The actual logging is delegated to the project.
-        /// </para>
-        /// <para>
-        /// If the <see cref="Verbose" /> attribute is set on the task and a 
-        /// message is logged with level <see cref="Level.Verbose" />, the 
-        /// priority of the message will be increased to <see cref="Level.Info" />.
-        /// when the threshold of the build log is <see cref="Level.Info" />.
-        /// </para>
-        /// <para>
-        /// This will allow individual tasks to run in verbose mode while
-        /// the build log itself is still configured with threshold 
-        /// <see cref="Level.Info" />.
-        /// </para>
-        /// </remarks>
-        public override void Log(Level messageLevel, string message) {
-            if (_verbose && messageLevel == Level.Verbose && Project.Threshold == Level.Info) {
-                Project.Log(this, Level.Info, message);
-            } else {
-                Project.Log(this, messageLevel, message);
-            }
-        }
-
-        /// <summary>
-        /// Logs a formatted message with the given priority.
-        /// </summary>
-        /// <param name="messageLevel">The message priority at which the specified message is to be logged.</param>
-        /// <param name="message">The message to log, containing zero or more format items.</param>
-        /// <param name="args">An <see cref="object" /> array containing zero or more objects to format.</param>
-        /// <remarks>
-        /// <para>
-        /// The actual logging is delegated to the project.
-        /// </para>
-        /// <para>
-        /// If the <see cref="Verbose" /> attribute is set on the task and a 
-        /// message is logged with level <see cref="Level.Verbose" />, the 
-        /// priority of the message will be increased to <see cref="Level.Info" />.
-        /// when the threshold of the build log is <see cref="Level.Info" />.
-        /// </para>
-        /// <para>
-        /// This will allow individual tasks to run in verbose mode while
-        /// the build log itself is still configured with threshold 
-        /// <see cref="Level.Info" />.
-        /// </para>
-        /// </remarks>
-        public override void Log(Level messageLevel, string message, params object[] args) {
-            string logMessage = string.Format(CultureInfo.InvariantCulture, message, args);
-
-            if (_verbose && messageLevel == Level.Verbose && Project.Threshold == Level.Info) {
-                Project.Log(this, Level.Info, logMessage);
-            } else {
-                Project.Log(this, messageLevel, logMessage);
-            }
-        }
 
         /// <summary>
         /// Initializes the configuration of the task using configuration 

