2
votes

I'm trying to follow the instructions at https://cloud.google.com/storage/docs/gsutil/commands/logging to turn off logging for a bucket, www.peek.solutions. Here is how the bucket looks in my Google Cloud Console:

enter image description here

As you can see, the name of the bucket is www.peek.solutions. So I tried the following command:

gsutil logging set off -b gs://www.peek.solutions

However, I get the following exception:

CommandException: No URLs matched: []

Yet the gsutil ls command does show that bucket:

Kurts-MacBook-Pro:~ kurtpeek$ gsutil ls
gs://www.peek.solutions/

(The ls command shows it with a trailing slash, but if I add that it still doesn't work).

Is there something wrong my syntax or understanding of the documentation?

1

1 Answers

8
votes

It turns out that the command works without the -b option:

Kurts-MacBook-Pro:~ kurtpeek$ gsutil logging set off gs://www.peek.solutions
Disabling logging on gs://www.peek.solutions/...