Skip to content

Logging display issue when using DiffSync and Nautobot Jobs #333

Description

@swanandtambe

Environment

  • Python version: 3.11
  • DiffSync version:2.2.0

Expected Behavior

Logs messages are displayed with correct logging level

Observed Behavior

Nested logs messages are displayed in the job results.

Image

Steps to Reproduce

  1. Create a job with a call to diff_from or sync_from function.
  2. Run the job.
  3. Because the diffsync writes to stderr all the logs created by diffsync are logged as warning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions