From bb78d65c770cac434accd428d3184d5cd8534026 Mon Sep 17 00:00:00 2001 From: digimer Date: Sat, 27 Jan 2024 21:36:54 -0500 Subject: [PATCH] Bumped debug logging. Signed-off-by: digimer --- tools/striker-collect-debug | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tools/striker-collect-debug b/tools/striker-collect-debug index 888dd859..9d77a662 100755 --- a/tools/striker-collect-debug +++ b/tools/striker-collect-debug @@ -353,6 +353,7 @@ sub collect_remote_data # Copying the file print "Done! Copying to here... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-previous-boot.log", destination => $target_directory."/", }); @@ -392,6 +393,7 @@ sub collect_remote_data # Copying the file print "Done! Copying to here... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/journalctl-current-boot.log", destination => $target_directory."/", }); @@ -431,6 +433,7 @@ sub collect_remote_data { print "- Grabbing cloud-init logs... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/cloud-init*", destination => $target_directory."/", }); @@ -499,6 +502,7 @@ sub collect_remote_data print "- Grabbing hosts file... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/hosts", destination => $target_directory."/", }); @@ -522,6 +526,7 @@ sub collect_remote_data print "- Grabbing Anvil! log... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/var/log/anvil.log", destination => $target_directory."/", }); @@ -559,6 +564,7 @@ sub collect_remote_data # Copying the file print "Done! Copying to here... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/tmp/cib.xml", destination => $target_directory."/", }); @@ -586,6 +592,7 @@ sub collect_remote_data { print "- Collecting server definitions... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/mnt/shared/definitions", destination => $target_directory."/", }); @@ -593,6 +600,7 @@ sub collect_remote_data print "- Collecting replicated storage config... "; $anvil->Storage->rsync({ + debug => 2, source => "root\@".$anvil->data->{peer}{$short_host_name}{access}{ip}.":/etc/drbd.d", destination => $target_directory."/", });