From e63edffcf2fee006b1aeaf093231bec81c51c140 Mon Sep 17 00:00:00 2001 From: gyk <147011991+gyk4j@users.noreply.github.com> Date: Wed, 13 Mar 2024 13:40:15 +0800 Subject: [PATCH] Reduce verbosity of progress logging (#232) --- WreckGui/Controller/GuiController.cs | 6 +++--- WreckGui/log4net.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/WreckGui/Controller/GuiController.cs b/WreckGui/Controller/GuiController.cs index d52b883..1ed5145 100644 --- a/WreckGui/Controller/GuiController.cs +++ b/WreckGui/Controller/GuiController.cs @@ -199,20 +199,20 @@ public void PropertyChange(PropertyChangeEvent evt) else if (R.Strings.PropertyProgress.Equals(evt.PropertyName)) { int progress = (int)evt.NewValue; - LOG.InfoFormat("Progress: {0}%", progress); + LOG.DebugFormat("Progress: {0}%", progress); controller.View.GetMain().SetProgress(progress); } else if (R.Strings.PropertyVisits.Equals(evt.PropertyName)) { FileVisit visit = (FileVisit) evt.NewValue; - LOG.InfoFormat("Progress: {0}% - Visit: {1}", visit.Progress, visit.File.Name); + LOG.DebugFormat("Progress: {0}% - Visit: {1}", visit.Progress, visit.File.Name); controller.View.GetMain().SetProgress(visit.Progress); controller.View.GetMain().SetAction(visit); } else if(R.Strings.PropertyBean.Equals(evt.PropertyName)) { FileBean update = (FileBean) evt.NewValue; - LOG.InfoFormat("FileBean: {0} {1} {2} {3} {4}", + LOG.DebugFormat("FileBean: {0} {1} {2} {3} {4}", update.Path.Name, update.Creation.ToString(), update.Modified.ToString(), diff --git a/WreckGui/log4net.xml b/WreckGui/log4net.xml index da65eb4..00e5b13 100644 --- a/WreckGui/log4net.xml +++ b/WreckGui/log4net.xml @@ -19,13 +19,13 @@ - + - + \ No newline at end of file