summaryrefslogtreecommitdiff
path: root/evergreen/local_client_logs_tar.sh
diff options
context:
space:
mode:
Diffstat (limited to 'evergreen/local_client_logs_tar.sh')
-rw-r--r--evergreen/local_client_logs_tar.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/evergreen/local_client_logs_tar.sh b/evergreen/local_client_logs_tar.sh
new file mode 100644
index 00000000000..21c01ba79b3
--- /dev/null
+++ b/evergreen/local_client_logs_tar.sh
@@ -0,0 +1,9 @@
+DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
+. "$DIR/prelude.sh"
+
+cd src
+
+client_logs=$(ls crud*.log fsm*.log 2>/dev/null)
+if [ ! -z "$client_logs" ]; then
+ ${tar} czf client-logs.tgz $client_logs
+fi