Commit d09436c0 authored by priit's avatar priit

Dockeri alge

parent 442304d6
...@@ -28,6 +28,7 @@ router.post('/', function ( req, res ) { ...@@ -28,6 +28,7 @@ router.post('/', function ( req, res ) {
logger.debug('Got error', err); logger.debug('Got error', err);
return res.send({errors: err}); return res.send({errors: err});
} }
logger.debug('Send response');
res.send(data); res.send(data);
}); });
}); });
......
...@@ -45,7 +45,7 @@ config.log4js = { ...@@ -45,7 +45,7 @@ config.log4js = {
}, },
{ {
"type": "logLevelFilter", "type": "logLevelFilter",
"level": "ERROR", "level": "DEBUG",
"appender": { "appender": {
type: 'file', type: 'file',
filename: __dirname + '/../wrapper.log', filename: __dirname + '/../wrapper.log',
......
...@@ -10,7 +10,7 @@ function WrapperService() { ...@@ -10,7 +10,7 @@ function WrapperService() {
sessionService.createSession(serviceRequest, function (err, session) { sessionService.createSession(serviceRequest, function (err, session) {
if(err){ if(err){
logger.debug('Session creation error', err); logger.error('Session creation error', err);
return callback(err); return callback(err);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment