
Config aliyun Docker to use SLS
2016, Jul 07
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