Code coverage report for node/src/integrations/access-logger.ts

Statements: 100% (1 / 1)      Branches: 100% (0 / 0)      Functions: 100% (0 / 0)      Lines: 100% (1 / 1)      Ignored: none     

All files » node/src/integrations/ » access-logger.ts
1 2 3 4    1  
// 10.185.248.71 - - [09/Jan/2015:19:12:06 +0000] 808840 "GET /inventoryService/inventory/purchaseItem?userId=20253471&itemId=23434300 HTTP/1.1" 500 17 "-" "Apache-HttpClient/4.2.6 (java 1.5)"
 
export const ACCESS_TEMPLATE = '${ctx.data.req.ip} - - [${ctx.data.ts}] ${ctx.data.pid} "${ctx.data.req.method} ${ctx.data.req.url} " ${ctx.data.res.status} ${ctx.data.res.length} - "${ctx.data.req.userAgent}" ${ctx.message}';