I am having the same problem as this previous post and there does not
seem to be an answer anywhere for it
a resolution would be great
--------------------------------------------------------------------------------------------------------
I want to set the location of the log file written by
My.Application.Log.WriteEntry
MSDN doc has configuration example for changes to app.config file
under
topic :
How to: Write Event Information to a Text File
I attempt to follow the doc and add to the sharedListeners section ,
but the
location attribute and customlocation attributes ( below) are not
recognized, and flagged as error by intellisense. Is this just
another of
the many non-working MS examples? How do I change the location of the
log
file?
<sharedListeners>
<add name="FileLogListener"
type="Microsoft.VisualBasic.Logging.FileLogTraceLi stener,
Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a"
initializeData="FileLogListenerWriter"
location="Custom" customlocation="c:\temp\" />