dchaley / deepcell-imaging

Tools & guidance to scale DeepCell imaging on Google Cloud Batch
8 stars 2 forks source link

Move GCP JSON formatter to root & remove other handlers #280

Closed dchaley closed 3 months ago

dchaley commented 3 months ago

We saw duplicate log entries after we added the GCP handler: https://github.com/dchaley/deepcell-imaging/issues/279

We saw this once locally, but it went away; then it came back on cloud. This should "just fix" it.

This PR removes any default handlers from the root logger, and moves the GCP JSON formatter to the root as well (so that ALL loggers use it, not just our own).

Paired with @WeihaoGe1009

Fixes #279.