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 #69

Merged
merged 3 commits into from Sep 2, 2016
Merged

DM-6999: Logging framework migration #69

merged 3 commits into from Sep 2, 2016

Conversation

hsinfang
Copy link
Contributor

@hsinfang hsinfang commented Aug 4, 2016

No description provided.

from lsst.pipe.tasks.makeCoaddTempExp import MakeCoaddTempExpTask

pexLog.Trace.setVerbosity('lsst.coadd', 3)
pexLog.Trace.setVerbosity('lsst.ip.diffim', 1)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@r-owen , I removed these because I thought they were accidentally left here. Are they here intentionally? If so I will add them back in the lsst.log form.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a great question and I'm afraid I don't know the answer. I had assumed they provided an appropriate level of verbosity, but perhaps it is too much.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think tasks should be messing with trace levels. It's up to the user to turn tracing on.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agree. I'll keep this commit, with those verbosity setting removed.

If coadd and ip_diffim need to be more verbose, we probably should change the logging records to a higher level in coadd and ip_diffim. (I can file a ticket if that is wanted)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree.

Hsin-Fang Chiang added 3 commits September 1, 2016 12:24
No log records from meas.astrom.astrometry_net or meas.astrom.sip
show up by running this test with the current master. Instead,
there are some log messages from LoadIndexedReferenceObjectsTask.
Update the code to quiet down the new noisy logging.
Make changes for tasks' logs and other individual logging to use lsst.log.
Replace lsst.pex.logging logdebug with lsst.log.Log DEBUG level
@hsinfang hsinfang merged commit b07f4d5 into master Sep 2, 2016
@ktlim ktlim deleted the tickets/DM-6999 branch August 25, 2018 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants