Skip to content

add option to disable file logger, change default db log level#9

Draft
sheb-gregor wants to merge 1 commit into
UTEXO-Protocol:utexo-masterfrom
sheb-gregor:mike/qol-improvements
Draft

add option to disable file logger, change default db log level#9
sheb-gregor wants to merge 1 commit into
UTEXO-Protocol:utexo-masterfrom
sheb-gregor:mike/qol-improvements

Conversation

@sheb-gregor

Copy link
Copy Markdown

Make file logging optional

Summary

When RGB-lib is being used as a part of some service, logging directly to a file leads to:

  1. Unnecessary duplication of logs makes it harder to collect logs from all subsystems.
  2. Log file can grow-up quicky and take a lot of disk space unexpectedly.

I've added an option to disable this file log.

Also, the log level of database queries produced by SeaORM was changed from INFO to DEBUG.
Logging all DB queries at the INFO level is inappropriate.

@sheb-gregor sheb-gregor marked this pull request as draft March 9, 2026 10:32
@sheb-gregor sheb-gregor changed the title DRAFT: add option to disable file logger, change default db log level add option to disable file logger, change default db log level Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant