Commit c79c95a37e197ecb8f45d59a9bb3225a653feafa
1 parent
057c21c408
Exists in
master
nama container dan channel redis
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
index.js
... | ... | @@ -32,8 +32,8 @@ if (config.redis && config.redis.host) { |
32 | 32 | var winstonRedisOptions = { |
33 | 33 | host: config.redis.host, |
34 | 34 | port: config.redis.port || 6379, |
35 | - container: 'log_' + config.globals.smscid, | |
36 | - channel: 'log_' + config.globals.smscid + '_' + config.globals.jid | |
35 | + container: 'LOG_CENTER_' + config.globals.smscid + '_' + config.globals.jid, | |
36 | + channel: 'LOG_CENTER_' + config.globals.smscid + '_' + config.globals.jid | |
37 | 37 | } |
38 | 38 | logger.add(winston.transports.Redis, winstonRedisOptions); |
39 | 39 | logger.info("Add redis log channel", {options: winstonRedisOptions}); |