Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-45217

Allow resmoke logging config outside resmoke config directory

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • Dev Platform 2020-01-13

      After SERVER-43088, resmoke requires the logging config to be in the resmoke config directory. It would be better to keep the local logging config out of the working directory so that git diff doesn't always show it and developers won't git add it by accident.

      Here's an example of resmoke logging config.

      logging:
        executor:
          format: '[%(name)s] %(asctime)s %(message)s'
          handlers:
            - class: logging.StreamHandler
        fixture:
          format: '[%(name)s] %(message)s'
          handlers:
            - class: logging.StreamHandler
        tests:
          format: '%(message)s'
          handlers:
            - class: logging.StreamHandler
      

            Assignee:
            mathew.robinson@mongodb.com Mathew Robinson (Inactive)
            Reporter:
            siyuan.zhou@mongodb.com Siyuan Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: