Config aliyun Docker to use SLS

Config aliyun Docker to use SLS

2016, Jul 07    

Preparation

  1. Make sure SLS is enabled.

#Edit application configuration

  1. Add label to enable log.
aliyun.log_store_[Log Name]: stdout
  1. Go to SLS, will see the log be saved.