pcdshub / pcdshub/pcdsutils

Logging configuration

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
6
Avg merge
7d 11h
Merged PRs (30d)
1

Description

As seen in lucid, we need a better general logging setup.

For now, the configuration in this repository sets up a handler to send messages off to logstash. We should extend it to configuring the root logger as needed, and also configuring loggers of common packages we use in either hutch_python or gui libraries.

Ref. https://github.com/NSLS-II/nslsii/pull/80

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the repository's existing logging configuration and read the referenced NSLS-II/nslsii#80 pull request for context. Done means the setup configures the root logger and the common hutch_python or GUI-library loggers in addition to the existing Logstash handler.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.