Skip to content

Commit 60a903b

Browse files
committed
* Preventing undesired logspam (but allowing it to happen if the user wants). Making the message slightley more useful.
* Making the logspam more useful when activated.
1 parent 5de1ae3 commit 60a903b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Source/ModuleManager/PatchExtractor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ public IPatch ExtractPatch(UrlDir.UrlConfig urlConfig)
9494
ITagList tagList;
9595
try
9696
{
97-
progress.ProcessingTagList(urlConfig);
9897
tagList = tagListParser.Parse(name, urlConfig);
98+
progress.ProcessingTagList(tagList, urlConfig);
9999
}
100100
catch (FormatException ex)
101101
{

Source/ModuleManager/Progress/IPatchProgress.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public interface IPatchProgress
3030
void Error(string message, params object[] @params);
3131
void Exception(Exception exception, string message, params object[] @params);
3232
void Exception(Exception exception, UrlDir.UrlConfig url, string message, params object[] @params);
33-
void ProcessingTagList(UrlDir.UrlConfig urlConfig);
33+
void ProcessingTagList(Tags.ITagList tagList, UrlDir.UrlConfig urlConfig);
3434
void NeedsUnsatisfiedRoot(UrlDir.UrlConfig url);
3535
void NeedsUnsatisfiedNode(UrlDir.UrlConfig url, string path);
3636
void NeedsUnsatisfiedValue(UrlDir.UrlConfig url, string path);

Source/ModuleManager/Progress/PatchProgress.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,9 @@ public void PatchApplied()
8181
OnPatchApplied.Fire();
8282
}
8383

84-
public void ProcessingTagList(UrlDir.UrlConfig url)
84+
public void ProcessingTagList(Tags.ITagList tagList, UrlDir.UrlConfig url)
8585
{
86-
logger.Info("Procesing Tag List (modname) in file {0} node: {1}", url.parent.url, url.type);
86+
logger.Detail("Procesing Tag (modname) {0} in file {1} node: {2}", tagList.PrimaryTag, url.parent.url, url.type);
8787
Counter.tagLists.Increment();
8888
}
8989

0 commit comments

Comments
 (0)