MerginMaps / db-sync

A tool for two-way synchronization between Mergin Maps and a PostGIS database
https://merginmaps.com
MIT License
45 stars 20 forks source link

Update logging #121

Closed JanCaha closed 1 year ago

JanCaha commented 1 year ago

Send logs to proper streams - stdout, stderror and use logging module levels as --log-verbosity.

The logging functions are move to separate file for clarity, to avoid dbsync_daemon.py. be full of functions.

Fixes #91.