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

Migrate Qserv code to stream-based logging

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: Qserv
    • Labels:
      None
    • Templates:
    • Story Points:
      10
    • Sprint:
      DB_W16_01
    • Team:
      Data Access and Database

      Description

      Migrate Qserv code from LOGF_* to LOGS_*.

      While doing it, we will also revisit logging levels: in particular we are abusing INFO, most of what is now in INFO should be on DEBUG, in some places where INFO is used to cover unusual conditions, it should go to WARNING.

      Further, we will unify how we initialize logging structures. Per discussions at 2015/12/09 Qserv meeting, we like best

      LOG_LOGGER _log = LOG_GET("lsst.qserv.<module>.<file>")

      in anonymous namespace in cc files. Logging from .hh files is strongly discouraged.

      This involves changing ~600 places.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  fritzm Fritz Mueller
                  Reporter:
                  fritzm Fritz Mueller
                  Reviewers:
                  Andy Salnikov
                  Watchers:
                  Andy Salnikov, Jacek Becla
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel