Commit 76bd3a5a4ee37c58815f6fc032ad0dcc286cf549

Authored by Adhidarma Hadiwinoto
1 parent d19242b670
Exists in master

logger

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

gateway/advice-push-server.js
... ... @@ -55,10 +55,13 @@ function adviceHandler(req, res, next) {
55 55 }
56 56  
57 57 if (!task) {
  58 + logger.warn('PUSH-ADVICE: Invalid task');
58 59 res.end('INVALID_TASK');
59 60 return;
60 61 }
61 62  
  63 + logger.verbose('PUSH-ADVICE: Got advice push', {task: task});
  64 +
62 65 task.remote_product = pull.getRemoteProduct(task.product);
63 66 partner.advice(task);
64 67 }