On Saturday, October 4, 2014 10:38:01 PM UTC-4, manjunath wrote:
>
> what we are looking is how we can disable only request logs.
>

Assuming the logger middleware you're using is `morgan`, then you can set a 
`skip`[1] function that allows you to return whether a particular request 
should be logged or not.

[1] https://github.com/expressjs/morgan#skip

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/d85696cc-f52a-45a0-8991-28cc43ec7bc8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to