Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions uSync.BackOffice/SyncHandlers/SyncHandlerBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ protected override async Task<IEnumerable<uSyncAction>> DeleteMissingItemsAsync(
// actually do the delete if we are really not reporting
if (!reportOnly)
{
if (logger.IsEnabled(LogLevel.Information))
logger.LogInformation("Deleting item: {id} {name} as part of a 'clean' import", actualItem.Id, name);
if (logger.IsEnabled(LogLevel.Debug))
logger.LogDebug("Deleting item: {id} {name} as part of a 'clean' import", actualItem.Id, name);

await DeleteViaServiceAsync(actualItem);
}
Expand Down
4 changes: 3 additions & 1 deletion uSync.BackOffice/SyncHandlers/SyncHandlerRoot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,9 @@ public SyncHandlerRoot(
}
else
{
logger.LogInformation("No caching of handler key lookups (CacheFolderKeys = false)");
if (logger.IsEnabled(LogLevel.Debug))
logger.LogDebug("No caching of handler key lookups (CacheFolderKeys = false)");

this.runtimeCache = NoAppCache.Instance;
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1038,8 +1038,8 @@ protected IEnumerable<uSyncChange> CleanTabs(TObject item, XElement node, SyncSe
}
else
{
if (logger.IsEnabled(LogLevel.Information))
logger.LogInformation("Removing tab : {alias}", tab.Alias);
if (logger.IsEnabled(LogLevel.Debug))
logger.LogDebug("Removing tab : {alias}", tab.Alias);

changes.Add(uSyncChange.Delete($"Tabs/{tab.Alias}", $"Tab {tab.Alias}", tab.Alias));
item.PropertyGroups.Remove(tab);
Expand Down
Loading