Skip to content

Add logging #73

Open
Open
@olliesilvester

Description

@olliesilvester

We should add logging to determine usage and issues as they arise. We could use fastapi.middleware for this - see https://github.com/DiamondLightSource/blueapi/blob/832270178bdc039ea2397cd9bcfab4d6b089860e/src/blueapi/service/main.py#L121C28-L121C47 (Suggested by @DiamondJoseph)

We should also change the logging added in #93 to make it properly configurable, similar to https://github.com/DiamondLightSource/blueapi/blob/65ca16641aa24ec6c6af35a8b8687596d78e0452/src/blueapi/log.py#L24

Acceptance Criteria

  • Configurable logging added
  • Use fastapi.middleware for the fastapi logging

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions