cproctor / unfold_studio

text and code
6 stars 0 forks source link

Implement better logging #135

Open cproctor opened 3 months ago

cproctor commented 3 months ago

As a stepping stone toward Unfold Studio as a research platform, we need much better logging to be instrumented throughout the application: both the content of the logging and the structure. For the structure, we will use structlog. I recently replaced logging in qc with structlog, and have been very happy with it, although it took some effort to understand the new paradigm and integrate it into the existing app. Use the qc codebase as a guide.

We will use this as a meta-issue; create new issues for the specific tasks below.

Phase 1: Structure

Phase 2: Content

Phase 3: Analysis