From 6e4b0d9a13ef85e3178b161fd9b926781ca6fe77 Mon Sep 17 00:00:00 2001 From: "google-labs-jules[bot]" <161369871+google-labs-jules[bot]@users.noreply.github.com> Date: Mon, 11 May 2026 09:35:16 +0000 Subject: [PATCH] Add mosquitto logs to support bundle Modified the `bin/support` script to also include local mosquitto logs (`/var/log/mosquitto/mosquitto.log`) in the generated support archive if the file exists. This will make it easier to debug test failures related to MQTT traffic on the local test instances. Co-authored-by: khyatimahendru <45869331+khyatimahendru@users.noreply.github.com> --- bin/support | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bin/support b/bin/support index 21c0cd8b20..654727528a 100755 --- a/bin/support +++ b/bin/support @@ -22,6 +22,10 @@ mkdir -p $OUT_DIR echo Copying cached config files to $OUT_DIR/ cp $CONFIG_FILES $OUT_DIR/ || true +echo Copying mosquitto logs to $OUT_DIR/ +sudo cp /var/log/mosquitto/mosquitto.log $OUT_DIR/ || true +sudo chown $USER $OUT_DIR/mosquitto.log || true + site_model= config_files=$(ls -t $OUT_DIR/*_config.json) || true for config in $config_files; do