mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
* Correct logging output for 'skip_file' exclusions
This commit is contained in:
parent
62c3d87b9f
commit
737244e5c7
1 changed files with 3 additions and 3 deletions
|
|
@ -2293,7 +2293,7 @@ class SyncEngine {
|
|||
unwanted = selectiveSync.isFileNameExcluded(exclusionTestPath);
|
||||
if (debugLogging) {addLogEntry("Result: " ~ to!string(unwanted), ["debug"]);}
|
||||
if (unwanted) {
|
||||
if (verboseLogging) {addLogEntry("Skipping file - excluded by skip_dir config: " ~ thisItemName, ["verbose"]);}
|
||||
if (verboseLogging) {addLogEntry("Skipping file - excluded by skip_file config: " ~ thisItemName, ["verbose"]);}
|
||||
}
|
||||
} else {
|
||||
// parent id is not in the database
|
||||
|
|
@ -5165,7 +5165,7 @@ class SyncEngine {
|
|||
// The path that needs to be checked needs to include the '/'
|
||||
// This due to if the user has specified in skip_file an exclusive path: '/path/file' - that is what must be matched
|
||||
if (selectiveSync.isFileNameExcluded(localFilePath.strip('.'))) {
|
||||
if (verboseLogging) {addLogEntry("Skipping file - excluded by skip_dir config: " ~ localFilePath, ["verbose"]);}
|
||||
if (verboseLogging) {addLogEntry("Skipping file - excluded by skip_file config: " ~ localFilePath, ["verbose"]);}
|
||||
clientSideRuleExcludesPath = true;
|
||||
}
|
||||
}
|
||||
|
|
@ -5460,7 +5460,7 @@ class SyncEngine {
|
|||
|
||||
if (clientSideRuleExcludesPath) {
|
||||
// This path should be skipped
|
||||
if (verboseLogging) {addLogEntry("Skipping file - excluded by skip_dir config: " ~ exclusionTestPath, ["verbose"]);}
|
||||
if (verboseLogging) {addLogEntry("Skipping file - excluded by skip_file config: " ~ exclusionTestPath, ["verbose"]);}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue