We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ce5e0da + 07476fa commit 32ba581Copy full SHA for 32ba581
cluster/log-dump.sh
@@ -37,8 +37,10 @@ function copy-logs-from-node() {
37
local -r node="${1}"
38
local -r dir="${2}"
39
local files=(${3})
40
- # Append ".log"
41
- files=("${files[@]/%/.log}")
+ # Append ".log*"
+ # The * at the end is needed to also copy rotated logs (which happens
42
+ # in large clusters and long runs).
43
+ files=("${files[@]/%/.log*}")
44
# Prepend "/var/log/"
45
files=("${files[@]/#/\/var\/log\/}")
46
# Replace spaces with commas, surround with braces
0 commit comments