Skip to content

Commit e52fd20

Browse files
committed
add changes for PR #1019
update usage
1 parent 8f3fb6b commit e52fd20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

utils/log-collector

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ usage() {
1818
cat << EOF
1919
Usage: ./log-collector -s <stack-name> -i <instance-id>
2020
Collect Buildkite Elastic CI stack logs from AWS CloudWatch
21-
-s Auto Scaling Group Name, can be found at console.aws.amazon.com/ec2autoscaling/
21+
-s Stack name, can be found at https://console.aws.amazon.com/cloudformation/home
2222
-i Instance ID, the AWS instance ID for the instance you want to collect logs for
23-
-o Output format for logs(optional flag), supported values are text (default value), json, table
23+
-o Output format for logs (optional flag), supported values are text (default value), json, table
2424
EOF
2525
}
2626

@@ -54,7 +54,7 @@ now=$(date +"%F")
5454
outputFormat="${outputFormat:=text}"
5555

5656
# Create a temporary directory to store our logs
57-
dir=$(mktemp -d buildkite-logs-"$now")
57+
dir=$(mktemp -d buildkite-logs-"$now"-XXXX)
5858

5959
echo "Collecting logs for instance $instanceId"
6060

0 commit comments

Comments
 (0)