forked from DebaucheryLibrarian/traxxx
Reduced stash load verbosity.
This commit is contained in:
parent
a16ca716da
commit
1fc441670b
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue