Hi.

I think that verbosity level for some messages is not correct.

[mostly remove some messages if not verbose]

Martin

--- ExternalProgramBase.cs 23 Aug 2003 13:31:34 -0000 1.40
+++ ExternalProgramBase.cs 27 Aug 2003 16:19:23 -0000
@@ -351,7 +351,7 @@
lock (_htThreadStream) {
logger.Info(strLogContents);
//do not print LogPrefix, just pad that length.
- Log(Level.Info, new string(char.Parse(" "), LogPrefix.Length) +
strLogContents);
+ Log(Level.Verbose, new string(char.Parse(" "), LogPrefix.Length) +
strLogContents);
if (OutputFile != null && OutputFile.Length != 0) {
StreamWriter writer = new StreamWriter(OutputFile, doAppend);
@@ -376,7 +376,7 @@
lock (_htThreadStream) {
logger.Error(strLogContents);
//do not print LogPrefix, just pad that length.
- Log(Level.Info, new string(char.Parse(" "), LogPrefix.Length) +
strLogContents);
+ Log(Level.Error, new string(char.Parse(" "), LogPrefix.Length) +
strLogContents);
if (OutputFile != null && OutputFile.Length != 0) {
StreamWriter writer = new StreamWriter(OutputFile, OutputAppend);
--- SolutionTask.cs 17 Aug 2003 12:17:27 -0000 1.8
+++ SolutionTask.cs 27 Aug 2003 16:30:18 -0000
@@ -133,14 +133,14 @@

Solution sln;
if (Verbose) {
- Log(Level.Info, LogPrefix + "Included projects:" );
+ Log(Level.Verbose, LogPrefix + "Included projects:" );
foreach (string projectFile in _projects.FileNames) {
- Log(Level.Info, LogPrefix + " - " + projectFile);
+ Log(Level.Verbose, LogPrefix + " - " + projectFile);
}

- Log(Level.Info, LogPrefix + "Reference projects:");
+ Log(Level.Verbose, LogPrefix + "Reference projects:");
foreach (string projectFile in _referenceProjects.FileNames) {
- Log(Level.Info, LogPrefix + " - " + projectFile);
+ Log(Level.Verbose, LogPrefix + " - " + projectFile);
}
}
--- Project.cs 27 Aug 2003 05:17:40 -0000 1.16
+++ Project.cs 27 Aug 2003 16:31:00 -0000
@@ -381,7 +381,7 @@
bSuccess = false;
} else {
if (_isWebProject) {
- Log(Level.Info, LogPrefix + "Uploading output files...");
+ Log(Level.Verbose, LogPrefix + "Uploading output files...");
WebDavClient wdc = new WebDavClient(new Uri(_webProjectBaseUrl));
//wdc.DeleteFile( cs.FullOutputFile, cs.RelativeOutputPath.Replace(@"\",
"/") + _ps.OutputFile );
wdc.UploadFile(cs.FullOutputFile, cs.RelativeOutputPath.Replace(@"\", "/") +
_projectSettings.OutputFile);
--- Solution.cs 27 Aug 2003 15:48:48 -0000 1.11
+++ Solution.cs 27 Aug 2003 16:31:20 -0000
@@ -202,7 +202,7 @@

if (!failed) {
// Fixup references
- Log(Level.Info, LogPrefix + "Fixing up references...");
+ Log(Level.Verbose, LogPrefix + "Fixing up references...");

foreach (Reference reference in p.References) {
// store original reference filename
@@ -356,7 +356,7 @@
}

private void LoadProjects() {
- Log(Level.Info, LogPrefix + "Loading projects...");
+ Log(Level.Verbose, LogPrefix + "Loading projects...");

FileSet excludes = _solutionTask.ExcludeProjects;
foreach (DictionaryEntry de in _htProjectFiles) {
@@ -372,7 +372,7 @@
}

private void GetDependenciesFromProjects() {
- Log(Level.Info, LogPrefix + "Gathering additional dependencies...");
+ Log(Level.Verbose, LogPrefix + "Gathering additional dependencies...");

// First get all of the output files
foreach (DictionaryEntry de in _htProjects) {




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
nant-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to