DiamondLightSource / DiamondLightSource/mx-bluesky
Hyperion log files full of escape characters
- Dominant language
- Python
- Stars
- 4
- Forks
- 5
- Avg merge
- 1d 30m
- Merged PRs (30d)
- 2
Description
```
ESC[32m[I 260501 10:43:22.045 oav_detector:116] Waiting {self.DELAY_BETWEEN_MOTORS_AND_IMAGE_UPDATING_S} seconds for zoom to be noticeableESC[0m
ESC[32m[I 260501 10:43:23.995 smargon:125] Chi move doneESC[0m
ESC[32m[I 260501 10:43:26.268 utils:268] pin-tip detection: Successfully located pin tip at (x=300, y=438)ESC[0m
ESC[32m[I 260501 10:43:26.269 pin_tip_centring_plan:49] Pin tip found at [300 438]ESC[0m
ESC[32m[I 260501 10:43:26.276 pin_tip_centring_plan:143] Tip centring moving to : [-3.271723e-01 6.602560e-02 9.200000e-06]ESC[0m
ESC[32m[I 260501 10:43:28.494 utils:268] pin-tip detection: Successfully located pin tip at (x=412, y=447)ESC[0m
```
we should find out why these are appearing and remove them.
Contributor guide
Research direction
Reproduce the escaped output shown in the issue and trace the Python logging configuration used for Hyperion log files. Identify where terminal color escapes are enabled, then verify that persisted logs contain plain text without ESC sequences.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- observability-sre
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 45/100