From 245046e8e5e449bbd18078772bb7204cb6067942 Mon Sep 17 00:00:00 2001 From: Daniel Gehriger Date: Mon, 17 Aug 2020 14:41:41 +0200 Subject: [PATCH] USN: adding verbose message --- Duplicati/Library/Snapshots/UsnJournalService.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Duplicati/Library/Snapshots/UsnJournalService.cs b/Duplicati/Library/Snapshots/UsnJournalService.cs index 5aef2a52d..acff99883 100644 --- a/Duplicati/Library/Snapshots/UsnJournalService.cs +++ b/Duplicati/Library/Snapshots/UsnJournalService.cs @@ -33,6 +33,11 @@ namespace Duplicati.Library.Snapshots { public class UsnJournalService { + /// + /// The log tag to use + /// + private static readonly string FILTER_LOGTAG = Logging.Log.LogTagFromType(typeof(UsnJournalService)); + private readonly ISnapshotService m_snapshot; private readonly IEnumerable m_sources; private readonly Dictionary m_volumeDataDict; @@ -89,6 +94,8 @@ namespace Duplicati.Library.Snapshots // iterate over volumes foreach (var sourcesPerVolume in SortByVolume(m_sources)) { + Logging.Log.WriteVerboseMessage(FILTER_LOGTAG, "UsnInitialize", "Reading USN journal for volume: {0}", sourcesPerVolume.Key); + if (m_token.IsCancellationRequested) break; var volume = sourcesPerVolume.Key;