Pass logger configuration to analysis backend and create a stream based on config

This commit is contained in:
Daniel García Aubert
2016-09-23 17:11:04 +02:00
parent c8d2f66467
commit 10feea0d48
7 changed files with 52 additions and 4 deletions
@@ -210,6 +210,12 @@ var config = {
endpoint: 'http://127.0.0.1:8080/api/v2/sql/job',
// the template to use for adding the host header in the batch api requests
hostHeaderTemplate: '{{=it.username}}.localhost.lan'
},
logger: {
// If filename is given logs comming from analysis client will be written
// there, in append mode. Otherwise 'log_filename' is used. Otherwise stdout is used (default).
// Log file will be re-opened on receiving the HUP signal
filename: '/tmp/analysis.log'
}
}
,millstone: {