David
David

Reputation: 1970

Where does the ASP.NET development server keep its logs?

I am trying to sort out a problem where some relative urls are not resolving properly in an ASP.NET website. I want to see the HTTP logs to determine which URLs are being requested from the web server. I am using the ASP.NET Development Server, not IIS.

So are there logs produced by the ASP.NET Development Server where I can check which files are being requested?

Windows 7, 64bit
VS2008
ASP.NET 3.5 SP1

Upvotes: 12

Views: 9111

Answers (6)

Matthew McGuire
Matthew McGuire

Reputation: 1

Uh, if you are patient and don't have too much chatter on your system, I was able to find errors in the Event Viewer under Application section. Look for category 'WebHost' to find them.

Upvotes: 0

VladH
VladH

Reputation: 702

UltiDev Web Server Pro, although it has no logging for now, when running from command line, it tells you exactly which file the request is mapped to: Request processing trace in UWS Pro

Upvotes: 0

Carlos Aguilar Mares
Carlos Aguilar Mares

Reputation: 13591

I would switch to IIS Express, it includes logging but even better it has support for Failed Request Tracing feature that will give you much more details.

See: http://learn.iis.net/page.aspx/868/iis-express-overview/

Upvotes: 0

Saul Dolgin
Saul Dolgin

Reputation: 8814

If you are willing to replace the basic ASP.NET development server that comes with Visual Studio...

CassiniDev includes a real-time request/response viewer and logging facility. As I understand it you can drop it in as a replacement web server very easily.

CassiniDev Log Viewer

CassiniDev seems to do exactly what you need. If you absolutely cannot use IIS for your site this may be the only other option in terms of being able to generate a request log.

Upvotes: 9

VoodooChild
VoodooChild

Reputation: 9784

The short answer is:

There are no logs for the development server, aka: Cassini

I would highly recommend using the IIS web server, if the logging is a crucial to your needs.

Upvotes: 2

Zayar
Zayar

Reputation: 347

As far as I understand Cassini has no logging feature

Upvotes: 6

Related Questions