Skip to content

Commit

Permalink
database: remove forced debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
Morg42 authored Feb 9, 2025
1 parent c96a79a commit 4500953
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions database/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,8 +978,8 @@ def reassign_orphaned_id(self, orphan_id, to):
:type orphan_id: int
:type to: int
"""
log_info = self.logger.warning # info
log_debug = self.logger.error # debug
log_info = self.logger.info # warning # info
log_debug = self.logger.debug # error # debug
try:
log_info(f'reassigning orphaned data from (old) id {orphan_id} to (new) id {to}')
cur = self._db_maint.cursor()
Expand Down

0 comments on commit 4500953

Please sign in to comment.