Skip to content

Commit

Permalink
refine comments
Browse files Browse the repository at this point in the history
  • Loading branch information
yinzhuo.dingyz committed Dec 31, 2016
1 parent e78e4c7 commit 5126aad
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions daemon/logger/alilogs/alilogs.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ import (

/*
Ali logging driver usage
docker run -d --name logger2 \
docker run -d --name test-logger \
--log-driver alilogs \
--log-opt alilogs-endpoint=cn-hangzhou.log.aliyuncs.com \
--log-opt alilogs-project=test_project \
--log-opt alilogs-logstore=test-logstore \
// You can add these extra attributes to log message
--log-opt labels=attr1,attr2,attr3 \
--label attr1=attr1 \
--label attr2=attr2 \
--label attr3=attr3 \
--label attr1=attr1Value \
--label attr2=attr2Value \
--label attr3=attr3Value \
// You assign these environment variables for alilogs logging driver to work
// "securityToken" and "topic" are optinal
Expand Down

0 comments on commit 5126aad

Please sign in to comment.