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

Logging fails for "'%s'"

    Details

    • Type: Bug
    • Status: Won't Fix
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: log
    • Labels:
      None
    • Templates:
    • Team:
      Architecture

      Description

      Logging fails when the following line is passed:

      log.debug(" %s ")

      The error:

        File "./tests/logTest.py", line 114, in testComplexString
          log.debug("%s")
        File "/home/becla/stack/repos/log/python/lsst/log/log.py", line 100, in debug
          log("", DEBUG, fmt, *args, depth=2)
        File "/home/becla/stack/repos/log/python/lsst/log/log.py", line 94, in log
          _getFuncName(depth), frame.f_lineno, fmt % args)
      TypeError: not enough arguments for format string

        Attachments

          Activity

            People

            • Assignee:
              ktl Kian-Tat Lim
              Reporter:
              jbecla Jacek Becla
              Watchers:
              Andy Salnikov, Jacek Becla, Kian-Tat Lim
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel