Skip to content

Commit d536881

Browse files
author
Misty Stanley-Jones
committed
Standardize formatting and content, add logging examples
Signed-off-by: Misty Stanley-Jones <[email protected]>
1 parent b72b9d3 commit d536881

File tree

3 files changed

+331
-220
lines changed

3 files changed

+331
-220
lines changed

engine/admin/logging/gcplogs.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,11 @@ Below is an example of the logging options required to log to the default
5454
logging destination which is discovered by querying the GCE metadata server.
5555

5656
docker run --log-driver=gcplogs \
57-
--log-opt labels=location
58-
--log-opt env=TEST
59-
--log-opt gcp-log-cmd=true
60-
--env "TEST=false"
61-
--label location=west
57+
--log-opt gcp-log-cmd=true \
58+
--env "TEST=false" \
59+
--label location=west \
6260
your/application
6361

6462
This configuration also directs the driver to include in the payload the label
6563
`location`, the environment variable `ENV`, and the command used to start the
66-
container.
64+
container.

0 commit comments

Comments
 (0)