Skip to content

Commit e63edff

Browse files
authored
Reduce verbosity of progress logging (#232)
1 parent 779efd3 commit e63edff

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

WreckGui/Controller/GuiController.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,20 +199,20 @@ public void PropertyChange(PropertyChangeEvent evt)
199199
else if (R.Strings.PropertyProgress.Equals(evt.PropertyName))
200200
{
201201
int progress = (int)evt.NewValue;
202-
LOG.InfoFormat("Progress: {0}%", progress);
202+
LOG.DebugFormat("Progress: {0}%", progress);
203203
controller.View.GetMain().SetProgress(progress);
204204
}
205205
else if (R.Strings.PropertyVisits.Equals(evt.PropertyName))
206206
{
207207
FileVisit visit = (FileVisit) evt.NewValue;
208-
LOG.InfoFormat("Progress: {0}% - Visit: {1}", visit.Progress, visit.File.Name);
208+
LOG.DebugFormat("Progress: {0}% - Visit: {1}", visit.Progress, visit.File.Name);
209209
controller.View.GetMain().SetProgress(visit.Progress);
210210
controller.View.GetMain().SetAction(visit);
211211
}
212212
else if(R.Strings.PropertyBean.Equals(evt.PropertyName))
213213
{
214214
FileBean update = (FileBean) evt.NewValue;
215-
LOG.InfoFormat("FileBean: {0} {1} {2} {3} {4}",
215+
LOG.DebugFormat("FileBean: {0} {1} {2} {3} {4}",
216216
update.Path.Name,
217217
update.Creation.ToString(),
218218
update.Modified.ToString(),

WreckGui/log4net.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@
1919

2020
<!-- Set root logger level to DEBUG and add appenders -->
2121
<root>
22-
<level value="DEBUG" />
22+
<level value="INFO" />
2323
<appender-ref ref="OutputDebugAppender" />
2424
<!-- appender-ref ref="RollingFile" / -->
2525
</root>
2626

2727
<!-- Print only messages of level WARN or above in the package Wreck -->
2828
<logger name="Wreck">
29-
<level value="DEBUG" />
29+
<level value="INFO" />
3030
</logger>
3131
</log4net>

0 commit comments

Comments
 (0)