Logging incoming request as/is with restify

36 views
Skip to first unread message

Ramneek Handa

unread,
Aug 30, 2014, 10:47:27 PM8/30/14
to res...@googlegroups.com
Hi Guys,
  I am trying to find out how to log precise incoming data as/is with restify? So i would want something like below rather than request object json to be logged. Is it possible? (sorry for this basic question, as google keywords for this seem to be too common and generic to reveal anything).

Regards 

HTTP/1.1 200 OK
Date: Mon, 23 May 2005 22:38:34 GMT
Server: Apache/1.3.3.7 (Unix) (Red-Hat/Linux)
Last-Modified: Wed, 08 Jan 2003 23:11:55 GMT
ETag: "3f80f-1b6-3e1cb03b"
Content-Type: text/html; charset=UTF-8
Content-Length: 131
Accept-Ranges: bytes
Connection: close

<html>
<head>
  <title>An Example Page</title>
</head>
<body>
  Hello World, this is a very simple HTML document.
</body>
</html>
Reply all
Reply to author
Forward
0 new messages