Skip to content

Commit

Permalink
Improve automation logging
Browse files Browse the repository at this point in the history
Move details to debug log entry and just log the site ID in info level

Change-Id: I85f6135112c92bbc68c24d1bea107e00f873d1c8
  • Loading branch information
LarsMichelsen committed Jan 30, 2025
1 parent b7eaca7 commit cebc186
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmk/gui/watolib/automations.py
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,8 @@ def _do_remote_automation_serialized(
files: Mapping[str, BytesIO] | None = None,
timeout: float | None = None,
) -> str:
auto_logger.info("RUN [%s]: %s", sanitize_site_configuration(site), command)
auto_logger.info("RUN [%s]: %s", site["id"], command)
auto_logger.debug("Site config: %r", sanitize_site_configuration(site))
auto_logger.debug("VARS: %r", vars_)

base_url = site["multisiteurl"]
Expand Down

0 comments on commit cebc186

Please sign in to comment.