473,666 Members | 2,334 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Managing Diagnostic Listener Files

Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this file
will grow and I want to understand how best to manage it. Ive tried deleting
it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew
Nov 18 '05 #1
4 1161
Put the data in a database and delete the old records on a schedule.

Dale Preston
MCAD, MCSE, MCDBA

"Andrew" <So******@nowhe re.com> wrote in message
news:Oi******** ******@TK2MSFTN GP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this file
will grow and I want to understand how best to manage it. Ive tried deleting it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew

Nov 18 '05 #2
to delete a file that is in use, you first rename the current file to a temp
name and then delete the current and the renamed file.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Dale" <da************ @msndotcomNot.N et> wrote in message
news:e5******** ******@TK2MSFTN GP10.phx.gbl...
Put the data in a database and delete the old records on a schedule.

Dale Preston
MCAD, MCSE, MCDBA

"Andrew" <So******@nowhe re.com> wrote in message
news:Oi******** ******@TK2MSFTN GP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this
file
will grow and I want to understand how best to manage it. Ive tried

deleting
it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew


Nov 18 '05 #3
"Andrew" <So******@nowhe re.com> wrote in message
news:Oi******** ******@TK2MSFTN GP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this file
will grow and I want to understand how best to manage it. Ive tried deleting it but windows complains that it is in use. This is even the case when I
stop IIS. The only way Ive found of deleting the file is by Rebooting the
machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?


My practice is to not use them, but instead to use the
EventLogTraceLi stener.
--
John Saunders
johnwsaundersii i at hotmail
Nov 18 '05 #4
Ive tried renaming the file but I still get the inuse error. Any other
thoughts

Andrew
"Alvin Bruney [MVP]" <vapor at steaming post office> wrote in message
news:O5******** ******@TK2MSFTN GP09.phx.gbl...
to delete a file that is in use, you first rename the current file to a temp name and then delete the current and the renamed file.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Dale" <da************ @msndotcomNot.N et> wrote in message
news:e5******** ******@TK2MSFTN GP10.phx.gbl...
Put the data in a database and delete the old records on a schedule.

Dale Preston
MCAD, MCSE, MCDBA

"Andrew" <So******@nowhe re.com> wrote in message
news:Oi******** ******@TK2MSFTN GP10.phx.gbl...
Ive created a web app. which has a web.config file that automatically
creates a text listener file for my Application trace. Over time this
file
will grow and I want to understand how best to manage it. Ive tried

deleting
it but windows complains that it is in use. This is even the case when I stop IIS. The only way Ive found of deleting the file is by Rebooting the machine and deleting it before I run my app.

So my question is - what is the best approach for managing these System
Diagnostic listener files?

Thanks
Andrew



Nov 18 '05 #5

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

Similar topics

1
38877
by: Park Yeon Jo | last post by:
About Error : ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor I installed Oracle 8.1.7 on Windows XP Professional. and I wanto connect to that server from another client computer using Net 8 Configuration. But congiguration cannot be proceeded because above error .
2
9171
by: Cherrish Vaidiyan | last post by:
Hello all, A warm Xmas greetings to all. I have a small problem with starting up the database. Here my strategy. I have installed Oracle 9i R 2 on Red Hat 9. i created two database on this system. And the two datasbe is working perfectly. Now i needed another RH9 system to work on Oracle 9i. So I was guided to copy the oracle home folder and that the oracle will be up for work. I even got such a response from Google Group. I copied...
1
3732
by: Cherrish Vaidiyan | last post by:
sir, I have a small error in Listener configuration.I have two system with a database in each. I am using Red Hat 9 and Oracle 9i. so i shall anme the database and system. system 1 - node2 system 2 - node3 database - apple database - intel i have installed Oracle on 'node3' by copying the files and then creating a new database in it. Now i want to configure listener. I
5
13427
by: Axel Dachtler | last post by:
Hi, I have a listener problem. The listener cannot read SERVICE_NAME in TNS-Descriptor. The service-name I specified in Oracle Net Manager for this database is testdb as well. (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=axel-0560nntbn1) (PORT=1521)))(CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=testdb))) It is a local database so I tried testdb.localhost, but this didn't
0
1657
by: Eliezer Figueroa | last post by:
Managing Multiple Excel incoming files? I have this situation. I have a client which have several locations they work primary with excel forms and they are thinking in doing reports with them. What they want is to import those Excel files into SQL Server for later using crystal reports or maybe asp.net for reporting. Those files will come every week from diferent locations then go to SQL Server and then they should be stored in a folder...
0
896
by: Cuperman | last post by:
Does anyone know of an issue where a Configuration Exception is thrown when "Program Files" is used as part of the initialiseData value within a custom listener? eg: <system.diagnostics> <trace autoflush="false" indentsize="4"> <listeners> <add name="myListener" type="System.Diagnostics.TextW­riterTraceListener" initialiseData="C:\Program Files\log.log"/>
7
3612
by: tgh003 | last post by:
I would be interested to hear how others are managing their javascript (.js) files from the original code vs the obfuscated version they publish to their site/webapp. I currently manage 2 files, and everytime i need to make a change, I have to switch the names, test, then rename again, obfuscate to the original file name (because this is the file referenced in php/perl/asp whatever files). So its kind of a pain. Any thoughts out...
2
4097
by: Flook M | last post by:
I am a tester and have to regularly uninstall software and reinstall it. unfortunately Oracle does not seem to be designed to do this. I have used the uninstall facility but this does not put the computer back to how it was before I installed it. I deleted the left over files in Program files and the Oracle folder that holds the ora92 files. I also deleted mention of Oracle path under Local_machine/Software in the Registry. I tried...
5
38826
by: mivey4 | last post by:
Hi, First off, I am aware that this is a very heavily documented error and I have done my homework for throughly researching probable causes before deciding to post my problem here. At this point, I believe another set of eyes on the issue is merited. I am a MSSQL DBA and somewhat new to ORACLE; but I have read the administrators manual having a basic thorough level of knowledge (Tho' I am still learning) and understanding of how to...
0
8443
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8866
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7385
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5663
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4198
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2011
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1772
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.