Cleanup logs

This commit is contained in:
nymkappa
2022-12-01 15:52:06 +01:00
parent 5ff5275b36
commit efb48271f9
16 changed files with 146 additions and 145 deletions

View File

@@ -681,9 +681,7 @@ class NodesApi {
)
`);
if (result[0].changedRows ?? 0 > 0) {
logger.info(`Marked ${result[0].changedRows} nodes as inactive because they are not in the graph`);
} else {
logger.debug(`Marked ${result[0].changedRows} nodes as inactive because they are not in the graph`);
logger.debug(`Marked ${result[0].changedRows} nodes as inactive because they are not in the graph`, logger.tags.ln);
}
} catch (e) {
logger.err('$setNodesInactive() error: ' + (e instanceof Error ? e.message : e));