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

Commits on Sep 1, 2016

  1. Make warning message log to WARN level

    This old trace/debug level of 1 was used as a warning.
    Replace it and log it to the WARN level.
    Hsin-Fang Chiang committed Sep 1, 2016
    Configuration menu
    Copy the full SHA
    653433f View commit details
    Browse the repository at this point in the history
  2. Migrate to lsst.log for changes in the task framework

    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()
    Hsin-Fang Chiang committed Sep 1, 2016
    Configuration menu
    Copy the full SHA
    6f3e80e View commit details
    Browse the repository at this point in the history
  3. Use trace for debug logging more verbose than debug

    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.
    Hsin-Fang Chiang committed Sep 1, 2016
    Configuration menu
    Copy the full SHA
    e078dd7 View commit details
    Browse the repository at this point in the history