pcdshub / opcpa-tpr-config

PyDM application for managing the TPR configurations of the OPCPA lasers in the LCLS NEH laser hall.
Other
0 stars 1 forks source link

Spammy INFO logging information #16

Open slactjohnson opened 3 months ago

slactjohnson commented 3 months ago

This application has started spamming lots of INFO log messages to stdout for some reason; see screenshot below.

Zach pointed me to an example of how they fixed this in hutch python:

https://github.com/pcdshub/hutch-python/blob/a2b1b55a2fb83da9ebdf82d4a9ec48f54ac6cc87/hutch_python/log_setup.py#L178-L180

https://github.com/pcdshub/hutch-python/blob/a2b1b55a2fb83da9ebdf82d4a9ec48f54ac6cc87/hutch_python/log_setup.py#L662-L671

I'd like to read through and understand this fix before applying to this repo. For a quick and dirty solution in an open PR right now I'm just dumping the output to /dev/null.