How do i configure logging to save a log file to a specified directory?

Topics: Logging Application Block
Apr 16, 2010 at 7:02 PM

I dont want logging to save to the eventviewer...I want to specify a log file to save to a specific path(i.e c:/programfiles/myapplication). Ive been searching the net for a solution but i havent found a straight forward answer....Can anyone help?

Apr 18, 2010 at 11:49 PM

You would simply use a flat file trace listener and specify the path and filename in its FileName property.


Sarah Urmeneta
Global Technology & Solutions
Avanade, Inc.