diff --git a/src/tools/stashes-load.js b/src/tools/stashes-load.js index 88cacb29..731f32c5 100644 --- a/src/tools/stashes-load.js +++ b/src/tools/stashes-load.js @@ -63,7 +63,9 @@ async function importReleases(type, stash, user, filename) { .onConflict(['stash_id', `${curatedType}_id`]) .ignore(); - console.log(`Imported ${stash.username} stash ${release.entity_name} ${curatedType} "${scene.title}"`); + if (args.logLevel === 'verbose') { + console.log(`Imported ${stash.username} stash ${release.entity_name} ${curatedType} "${scene.title}"`); + } }, Promise.resolve()); } @@ -98,7 +100,9 @@ async function importActors(stash, user, filename) { .onConflict(['stash_id', 'actor_id']) .ignore(); - console.log(`Imported ${stash.username} stash actor "${actorEntry.name}"`); + if (args.logLevel === 'verbose') { + console.log(`Imported ${stash.username} stash actor "${actorEntry.name}"`); + } }, Promise.resolve()); }