473,385 Members | 1,693 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.

Can I use My.log.writeentry and go to a custom log file?

Is there any way to use My.Application.Log. and have it NOT go to Application
log file, but my specific application log file? Any way to set it in the
config .app?

Thanks,.
Feb 7 '07 #1
1 1680
In article <50**********************************@microsoft.co m>,
As*****@discussions.microsoft.com says...
Is there any way to use My.Application.Log. and have it NOT go to Application
log file, but my specific application log file? Any way to set it in the
config .app?
"Walkthrough: Changing Where My.Application.Log Writes"
http://msdn2.microsoft.com/en-us/lib...zz(VS.80).aspx

--
Patrick Steele
http://weblogs.asp.net/psteele
Feb 8 '07 #2

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

Similar topics

4
by: John Lee | last post by:
Hi, Why EventLog.WriteEntry() works fine with Windows ME (where is the message being written or just ignored?) and throw exception on Windows98 and 98SE. Should it be handled at Framework level?...
0
by: Steve DeLong | last post by:
I have a set of C++ applications that all use a common message DLL. I am working on a .NET Service that I would also like to use this same message DLL. From what I have read, this should work...
2
by: Suzanne | last post by:
Hi all, I'm reposting this message as I'm experiencing this problem more and more frequently : I really hope someone out there can help me as I've been tearing my hair out on this one for a...
2
by: Russell Thomas | last post by:
I've been working with the My.Application.Log.WriteEntry method in VB.net 2005 and when it writes a log is stores the log file in the application data folder under the systems user account. I have...
3
by: KarlM | last post by:
I would like to write to the EventLog (Application) with following code. But this works only under admin account. There are no restrictions in the WriteEntry-documentation. Can anyone help me? ...
3
by: Dachshund Digital | last post by:
Has any one figured out how to override the WriteEntry or show change the actual output? I am sorry, but putting the DATE/TIME PROCESS # and Thread # information AFTER the 'Message' text just...
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" ?>...
0
by: jammendolia | last post by:
Hello all, I am having an intermittent exception occur when writing the the eventlog from a windows service application written in c#, running on a Win2k SP4 server. Here's the code: ...
2
by: =?Utf-8?B?bWFnZWxsYW4=?= | last post by:
Hi Where do I find the exact name and location of the output file for the command below: My.Application.Log.WriteEntry("Starting Test") thanks in advance!!!
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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...

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.