Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
jmpettit committed Mar 24, 2024
1 parent 31d637d commit 54255b1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nornir_nautobot/plugins/tasks/dispatcher/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ def generate_config(
Returns:
Result: Nornir Result object.
"""
if logger.getEffectiveLevel() == logging.DEBUG:
logger.debug("Job is running in debug mode", extra={"object": obj})
try:
filled_template = task.run(
**task.host,
Expand Down

0 comments on commit 54255b1

Please sign in to comment.