Details
-
Type:
Story
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: ap_association, cp_verify, ip_diffim, ip_isr, meas_algorithms, meas_base, meas_extensions_gaap, meas_extensions_psfex, pipe_tasks
-
Labels:None
-
Story Points:4
-
Team:Architecture
-
Urgent?:No
Description
In preparation for RFC-782, clean up some log usage to make it conform better with python logging. All changes will be compatibility with lsst.log.
Changes include:
- Changing log.warn to log.warning (the former is deprecated in python and lsst.log supports both)
- Fixing cases where string interpolation is happening before the logger decides whether to deliver the message.
- Switch away from the infof/warnf approach that Python never accepted (in python % vs f formatting is set per-logger).
Attachments
Issue Links
- relates to
-
DM-31355 Switch from the deprecated log.getName() to log.name
- Done
John Parejko would you be able to take a look at the PR in obs_base? It's not very big and the changes are all repetitive.