Commit dcc1925c99400d0683a18bdefa38a5f6fc855197

Authored by Adhidarma Hadiwinoto
1 parent 22b6472d9b
Exists in master

Change log message on message history

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

lib/http-listener.js
... ... @@ -75,9 +75,10 @@ function mainHandler(req, res) {
75 75 }
76 76  
77 77 logger.verbose(
78   - `Saving ${req.body.is_outgoing || req.query.is_outgoing ? 'outgoing' : 'incoming'} message history`,
  78 + `${MODULE_NAME} 1E9D2388: Saving message history`,
79 79 {
80 80 xid,
  81 + direction: req.body.is_outgoing || req.query.is_outgoing ? 'outgoing' : 'incoming',
81 82 transport: req.body.origin_transport || req.query.origin_transport,
82 83 partner: req.body.partner || req.query.partner || req.body.from || req.query.from
83 84 || req.body.to || req.query.to,