Skip to content

Commit

Permalink
fix: Make startup logging of approved directories for file copy/move/…
Browse files Browse the repository at this point in the history
…delete less verbose

Fixes #523
  • Loading branch information
mountaindude committed Aug 7, 2022
1 parent 843f781 commit e6a94c3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/globals.js
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ if (config.has('Butler.fileCopyApprovedDirectories') && config.get('Butler.fileC
toDir: upath.normalizeSafe(element.toDirectory),
};

logger.info(`Adding normalized fileCopy directories ${JSON.stringify(newDirCombo, null, 2)}`);
logger.verbose(`Adding normalized fileCopy directories ${JSON.stringify(newDirCombo, null, 2)}`);

fileCopyDirectories.push(newDirCombo);
});
Expand Down Expand Up @@ -355,7 +355,7 @@ if (config.has('Butler.fileMoveApprovedDirectories') && config.get('Butler.fileM
toDir: upath.normalizeSafe(element.toDirectory),
};

logger.info(`Adding normalized fileMove directories ${JSON.stringify(newDirCombo, null, 2)}`);
logger.verbose(`Adding normalized fileMove directories ${JSON.stringify(newDirCombo, null, 2)}`);

fileMoveDirectories.push(newDirCombo);
});
Expand All @@ -377,7 +377,7 @@ if (config.has('Butler.fileDeleteApprovedDirectories') && config.get('Butler.fil
}

const deleteDir = upath.normalizeSafe(element);
logger.info(`Adding normalized fileDelete directory ${deleteDir}`);
logger.verbose(`Adding normalized fileDelete directory ${deleteDir}`);

fileDeleteDirectories.push(deleteDir);
});
Expand Down

0 comments on commit e6a94c3

Please sign in to comment.