Config aliyun Docker to use SLS

Config aliyun Docker to use SLS

Jul 07, 2016, 12:00 AM

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.