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

cobraCharmer hijacks python logging

    XMLWordPrintable

    Details

      Description

      Importing anything from the cobraCharmer library changes  python logging format and adds its own handlers. Logging config should not be touched by any library, only the driver scripts are responsible for how the log is formatted and handled. If a special way of setting up the logging is necessary, please convert the relevant lines into functions that the driver scripts can call.

      Example:

      https://github.com/Subaru-PFS/ics_cobraCharmer/blob/f445cf2a81ad11ed1d4b11d3b823594243970f85/python/ics/cobraCharmer/cobraCoach/mcs/camera.py#L17

       

        Attachments

          Activity

            People

            • Assignee:
              chihyi chihyi
              Reporter:
              dobos Laszlo Dobos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: