swiss-seismological-service / scdetect

A computationally efficient earthquake detection module for SeisComP
https://scdetect.readthedocs.io
GNU Affero General Public License v3.0
15 stars 6 forks source link

Tag log messages #1

Closed damb closed 3 years ago

damb commented 3 years ago

Since the module is operating multiple detectors concurrently, the corresponding log messages get messed up, pretty quickly. In order to solve this problem tag log messages, hierarchically. E.g.

detector_processor_id::template_processor_id

where :: is the separator.

damb commented 3 years ago

Note, that the SeisComP logging implementation seems to based on rlog. Source code: https://github.com/vgough/rlog.