NancyFx / Nancy

Lightweight, low-ceremony, framework for building HTTP based services on .Net and Mono
http://nancyfx.org
MIT License
7.16k stars 1.47k forks source link

Evicting Nancy from the Console? #2976

Closed montehansen closed 4 years ago

montehansen commented 4 years ago

Description

I am using nlog and Nancy console output does not conform to the desired output. How do I prevent Nancy from writing to the console messages such as:

Request started: "GET" ...

Steps to Reproduce

Run the app in the debugger. I set StaticConfiguration.EnableRequestTracing = false but it has no effect that I can tell.

System Configuration

n/a

Thanks!

jonorossi commented 4 years ago

@montehansen I've never seen Nancy log this and Nancy's code has no results for "Request started". My guess is that this is from IIS Express (it writes that exact message).

montehansen commented 4 years ago

I think you are right, thanks so much for the quick reply.