473,385 Members | 1,720 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

FileLogListener

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\" />

Jun 15 '07 #1
0 1304

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: eric.goforth | last post by:
Hello, I'm trying to write information out to a log file, I think that I'm missing something in my app.config file. I've put the following in there: <?xml version="1.0" encoding="utf-8" ?>...
6
by: JeffDotNet | last post by:
Writing to a registered source in the Application event log I have an asp.net framework 2.0 app that I created on a winxp machine and now I am deploying it to IIS6 on a win server2003 machine. ...
12
by: Martyn Fewtrell | last post by:
Hi there I'm trying to find the correct way to write exceptions to the Application log using Vb.Net. I've done a fair bit of Googleing and although this gets plenty of mentions and that this...
3
by: gslim | last post by:
I have created a trace listener and would like to give it a variable so that when it is installed on a machine I have no control over it can still find its logfile. Right now they are hardcoded as...
0
by: RJ | last post by:
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.