Skip to content

Commit

Permalink
database plugin: change log message of copy database to info (instead…
Browse files Browse the repository at this point in the history
… of warning)
  • Loading branch information
onkelandy committed Jun 3, 2024
1 parent 4df6b47 commit c736882
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 @@ -398,11 +398,11 @@ def copy_databasefile(self):
database_name = ''

# copy the database file
self.logger.warning( f"Starting to copy SQLite3 database file from {database_name} to {self._copy_database_name}")
self.logger.info( f"Starting to copy SQLite3 database file from {database_name} to {self._copy_database_name}")
import shutil
try:
shutil.copy2(database_name, self._copy_database_name)
self.logger.warning("Finished copying SQLite3 database file")
self.logger.info("Finished copying SQLite3 database file")
except Exception as e:
self.logger.error( f"Error copying SQLite3 database file: {e}")

Expand Down

0 comments on commit c736882

Please sign in to comment.