Config aliyun Docker to use SLS
Jul 07, 2016, 12:00 AM
Preparation
- Make sure SLS is enabled.
#Edit application configuration
- Add label to enable log.
aliyun.log_store_[Log Name]: stdout
- Go to SLS, will see the log be saved.
#Edit application configuration
aliyun.log_store_[Log Name]: stdout