Skip to content

Commit

Permalink
feat(youtube): Increase level of auth update logging when configured …
Browse files Browse the repository at this point in the history
…to output changes #158

Increasing to INFO makes the signal better for long-running MS processes instead of requiring logging all of DEBUG
  • Loading branch information
FoxxMD committed Aug 21, 2024
1 parent 4f26b63 commit d7a86b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/backend/sources/YTMusicSource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,9 +139,9 @@ export default class YTMusicSource extends AbstractSource {
for(const [k,v] of updated) {
parts.push(`Cookie ${k}: Old => ${v.old} | New => ${v.new}`);
}
this.logger.debug(`Updated Auth -->\n${parts.join('\n')}`);
this.logger.info(`Updated Auth -->\n${parts.join('\n')}`);
} else {
this.logger.debug(`Updated Auth`);
this.logger.verbose(`Updated Auth`);
}

this.currentCreds = {
Expand Down

0 comments on commit d7a86b0

Please sign in to comment.