PC Review


Reply
Thread Tools Rate Thread

Debug trace on TerminalServer

 
 
TEK
Guest
Posts: n/a
 
      20th Apr 2005
Hello

I really hope someone can help me with this issue!

I'm using listeners to log application actions to a file.
The listners is initalized in the app.exe.config file using the following
section:
<system.diagnostics>
<trace autoflush="true" indentsize="2">
<listeners>
<add name="myListener"
type="System.Diagnostics.TextWriterTraceListener"
initializeData="MyClient.log" />
</listeners>
</trace>
</system.diagnostics>

This works nicely on a single computer installation. However, we're now
going to install on terminal servers, and this will blow up as all clients
will attemt to log to the same file.
How can I get the trace output to be redirected to a file specific to the
logged on user?

Best regrards, TEK


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trace output only in Trace but not in Debug Fabian Microsoft Dot NET Framework 0 21st Dec 2007 01:43 PM
Debug trace =?Utf-8?B?QXJtYW4gU2FoYWt5YW4=?= Microsoft C# .NET 3 29th Oct 2006 05:09 PM
How to Debug and Trace asp.net 1.1? danielsanberger@googlemail.com Microsoft ASP .NET 2 29th Jun 2006 12:58 PM
Newbie Q - debug or trace? =?Utf-8?B?Q2hhcmxpZU96MQ==?= Microsoft Dot NET Framework 2 7th Apr 2006 04:59 AM
Debug and Trace Kevin Microsoft C# .NET 2 31st Oct 2003 06:40 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:43 PM.