Uploaded image for project: 'Instrument control development'
  1. Instrument control development
  2. INSTRM-1524

oneCmd log file names: include fractional seconds

    XMLWordPrintable

    Details

    • Story Points:
      1

      Description

      Each oneCmd invocation makes a log file, but the naming convention is such that the time resolution is integer seconds. This means that invocations faster than 1 sec will lead to overwrites of the same file and errors such as that reported in INSTRM-1503:

        File "/software/mhs/products/Linux64/tron_actorcore/2.2.8/python/opscore/utility/sdss3logging.py", line 185, in doRollover
          raise RuntimeError("logfile %s already exists. Would append to it." % (path))
      RuntimeError: logfile /software/mhs/logs/actors/oneCmd/2022-02-08T06:33:15.log already exists. Would append to it.
      

      Please add fractional seconds to the log file name.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                hassan hassan
                Reporter:
                hassan hassan
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: