Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-7150

Configure a default log for tests

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: utils
    • Labels:
      None

      Description

      The default configurations such as format and levels are different between lsst.pex.logging and lsst.log. With DM-6999 logs of command line tasks are changed from lsst.pex.logging to lsst.log. For running command line tasks, logs are configured in pipe_base.

      Based on RFC-203, another main use case is debug logging by running unit tests. In this case, log are not (and cannot be) configured in pipe_base command line interface. This ticket adds a default configuration in lsst.utils.tests so the default logs will look more similar to what they have been with pex.logging when running unit tests. Developers can put customized configuration in each unit test (after DM-6999).

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  hchiang2 Hsin-Fang Chiang
                  Reporter:
                  hchiang2 Hsin-Fang Chiang
                  Reviewers:
                  Tim Jenness
                  Watchers:
                  Hsin-Fang Chiang, Tim Jenness
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel