Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-6999: Logging framework migration #42

Merged
merged 3 commits into from Sep 2, 2016
Merged

DM-6999: Logging framework migration #42

merged 3 commits into from Sep 2, 2016

Conversation

hsinfang
Copy link

@hsinfang hsinfang commented Aug 5, 2016

No description provided.

This old trace/debug level of 1 was used as a warning.
Replace it and log it to the WARN level.
Hsin-Fang Chiang added 2 commits September 1, 2016 14:18
With the logging framework changes in pipe_base, Tasks' logs
is transitioned from pex.logging to lsst.log. This commit
handles the API changes from the framework changes and other
individual usages.

lsst.pex.logging logdebug is replaced with lsst.log at DEBUG level.

In pcaPsfDeterminer.py, two debug levels are used:
 log.log(-2, ...) is replaced by log.debug()
 log.log(-3, ...) is replaced by log.trace()
Based on this commit: 4f0d38a
the records logged at pex.logging debug(2) are meant to be
logged to a level more verbose than a typical debug level,
hence they are logged to TRACE with lsst.log.
@hsinfang hsinfang merged commit e078dd7 into master Sep 2, 2016
@ktlim ktlim deleted the tickets/DM-6999 branch August 25, 2018 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant