HighTechTalks DotNet Forums  

How to create error and information files separately using enterprise library

Dotnet Distributed Applications microsoft.public.dotnet.distributed_apps


Discuss How to create error and information files separately using enterprise library in the Dotnet Distributed Applications forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Shijas KM
 
Posts: n/a

Default How to create error and information files separately using enterprise library - 11-14-2007 , 07:50 AM








How to create error and information files separately using enterprise
library???
All errors from
TraceEventType.Error in an Error file in one location and all
information from TraceEventType.Information in an information file in
another location .how to achive this.

*** Sent via Developersdex http://www.developersdex.com ***

Reply With Quote
  #2  
Old   
Bryan Phillips
 
Posts: n/a

Default Re: How to create error and information files separately using enterprise library - 11-17-2007 , 10:53 AM






Configure two separate listeners that write to different files. Use one
listener for the errors and one listener for the informational messages.

--
Bryan Phillips
MCT, MCSD, MCDBA, MCSE
Microsoft MVP - Client Application Development
Blog: http://bphillips76.spaces.live.com
Web Site: http://www.composablesystems.net



"Shijas KM" <shijas.kunnappllil (AT) target (DOT) com> wrote


Quote:
How to create error and information files separately using enterprise
library???
All errors from
TraceEventType.Error in an Error file in one location and all
information from TraceEventType.Information in an information file in
another location .how to achive this.

*** Sent via Developersdex http://www.developersdex.com ***


Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.