How to detect log file folder?

A

Alek Davis

Is there a way to determine a path to the log file folder from an HTTP
context? I am trying to implement a logging capability for an app and would
like to have a default location in case the caller does not specify it, so
the LogFiles (typically under c:\winnt\system32) seems like a reasonable
match. I think this value is stored in IIS metabase for the current Web
site, but am wondering if it can be retrieved using a .NET class. Thanks in
advance,

Alek
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top