-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.js
34 lines (31 loc) · 1.02 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/**
* New node file
*/
var config = {
restPort : 8080,
websocketPort : 8081,
trxClearanceIntervalInMins : 10,
keyspace : 'mykeyspace',
cassandraClient : {contactPoints: ['127.0.0.1'], keyspace: 'mykeyspace'},
timezone : '+0300',
winstonTransports : function(winston){
return [
new winston.transports.File({
level: 'debug',
filename: '/data/cqltx/logs/all-logs.log',
handleExceptions: true,
json: true,
maxsize: 5242880, //5MB
maxFiles: 5,
colorize: false
}),
new winston.transports.Console({
level: 'debug',
handleExceptions: true,
json: false,
colorize: true
})
];
}
}
module.exports = config;