-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Add python_db_logger to Nacculator:
- Add an
example.envwith the necessaryDB_*environment variables - Add a local mysql container definition. Copy the folder structure (
.containers/mysql) anddocker-compose.ymlfrom python_db_logger - Update README with instructions on how to start the docker container
- Add
python_db_loggeras a dependency insetup.py:
install_requires=[ "python_db_logger @ git+ssh://git@github.com:/ctsit/python_db_logger.git" ]
- Create a
configure_loggingfunction similar to https://github.com/ctsit/ufvivo-pubingest/blob/0779cf62b41245c479ebf49a9233d77bd644ab58/ufvivo/pubingest/__main__.py#L89-L111 that also creates an instance ofDBLogger - Replace all calls to
printwithdb_logger.print_info(),db_logger.print_warn(), etc.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels