CodeVerge.Net Beta


   Explore    Item Entry    Members      Register  Login  
NEWSGROUP
.NET
Algorithms-Data Structures
Asp.Net
C Plus Plus
CSharp
Database
HTML
Javascript
Linq
Other
Regular Expressions
VB.Net
XML

Free Download:




Zone: > NEWSGROUP > Asp.Net Forum > starter_kits_and_source_projects.microsoft_application_blocks Tags:
Item Type: NewsGroup Date Entered: 8/15/2007 3:06:05 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 0 Views: 14 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
1 Items, 1 Pages 1 |< << Go >> >|
RLT
Asp.Net User
Logging block - Turn off writing to a sink8/15/2007 3:06:05 PM

0/0

Hi,

Logging and Instrumentation Application Block version 1.0.

I have 2 custom sinks under MyCategory, so when I call logger.Write() , both are activated.

Does anybody know if there is an easy way to turn off/on writing to one of the sinks?

I can put code in the sink itself to check for some config key and exit if it's off.

But may be there is already a built in ability to achive this in 1.0 or later versions?

Thank you. 

 

 

1 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
Professional BizTalk Server 2006 Authors: Darren Jefford, Kevin B. Smith, Ewan Fairweather, Pages: 696, Published: 2007

Web:
Enterprise Library - Logging and Instrumentation Application Block ... Mar 17, 2005 ... Logging Application Block. For testing purposes, I decide to group all ... you will probably want to turn off a lot of the Debug messages. ...
CodeProject: Getting started with the Logging Application Block ... Put a break point in the Write method, then press the “Log To My Sink” button. .... Is there a way to flip a switch and turn logging on and off? ...
Enterprise Library - Logging and Instrumentation Application Block ... Mar 17, 2005 ... The Logging and Instrumentation Application Block is called within your application using a simple Logger.Write(...) call that has several ...
Brig Lamoreaux: How to Implement logging Jul 18, 2007 ... With the Logging Block, I have to specify in the code the Priority level and ... setting to turn on and off the different logging levels. ...
Security Exception with Enterprise Library Data Block the eventlog (disable the eventlog sink). .... the data block is built on the logging block. read documentation of the logging block. ...
Microsoft Application Blocks - ASP.NET Forums Can Logging application block listen to and log System.Diagnostics... by gregbalajewicz ... Logging block - Turn off writing to a sink by RLT. Not Resolved ...
September 2005 - Posts - Erik Lenaerts These filters can also be set on the Client Settings node of the Logging and Instrumentation Application Block. So, to turn off tracing, you could filter ...
Tom Hollander's blog : Logging in Enterprise Library for .NET 2.0 The basic architecture in the current Logging block looks like this: .... E.g One File Sink could write to to many log files because we do want to have a ...
Diagnostics and Logging In ASP.NET Obviously, you might need to write a little more code to pull this off, .... along these lines is the open source Logging Application Block from Microsoft. ...
Jan's weblog: Endlich, lang erwartet (nun auch ein Rolling File ... This article describes the RollingFileSink extension of the Logging block. This is a custom sink that can be plugged into the Enterprise Library Logging ...




Search This Site:










edit container

close button and themes

login control does not redirect

windows2003 security problem.. any idea..

documentation?

plesk 7.5 for windows and dotnetnuke 3.0.13

prevent 2 users log in with same account

pass logged in username and password to http form

forms authentication w/ session variables - problem

new module : resource directory with userdefined data (1-to-1 and one too many relationship )

how to provide drag and drop to treeview control in asp.net 2.0

dnn: a module for scheduler tasks

please help find microsoft.web.ui.webcontrols.dll

will asp.net 2.0 beta apps run in final release environment?

help creating a dynamic site map based on user roles

containers doesn't show very well with iframe

member administration

help debugging first custom module

how do i prevent browser from showing pages when "back" button is clicked after logout

help!!

asp.net authentication

navigation features

position a panel to the right

vs purchasing options

better navigation controls.

getting the treenode's id in 2005

how to: work with dotnetnuke_4.0.0_source.zip using visual web developer 2005 express edition

upgrade procedure from 3.1.0 to 3.2.2

text/html module don't work

3.0.6 file manager items per page error

 
All Times Are GMT