473,553 Members | 2,930 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

logging sink for logging application block

I'm new to C# programming and I'm trying to use asynchronous logging
using MSMQ. In the loggingdistribu torconfiguratio n file I have create a
DatabaseSink with a stored procedure to log the information. My
question is this I have more than one stored procedure that needs to
log data to differenct tables within the same database. Example
listed:
<sinks>
<sink xsi:type="Datab aseSinkData" name="Database Sink"
databaseInstanc eName="Vallejo" storedProcName= "WriteLog" />
</sinks>

In this database Vallejo I have other storedProcedure s that need to run
as well? Does any have examples that will help me or any suggestions?
Also can someone give me a name of a good book that will help me with
Enterprise Library Application Block for C#.

Jan 27 '06 #1
0 1423

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

Similar topics

1
1285
by: נירב | last post by:
Hi , We started to use the enterprise library logging block ( using the file sink ). I wonder if there is any Rolling capability ? Means start new file when the log file size is 10K or after 5 Days ? If it's exist , how can I define the purging level ( keep last 5 log files )
1
2832
by: Ollie Riches | last post by:
I have written a custom logging sink for the enterprise library logging application block (June 2005). I have been able to configure it as expected from the UI config tool (EntLibConfig.exe). I have built a console application to test it with and I am getting the following error message write to the default trace log when I attempt to use...
3
2926
by: Karuppasamy | last post by:
Hi I am trying to use the Logging Module provided by Microsoft Application Blocks for .Net . I installed everything as per the Instructions given in the 'Development Using the Logging Block'. But when i am trying to run the sample, i am getting the following error in the Event Viwer. Kindly help me on this.
1
8183
by: Ollie Riches | last post by:
I am trying to use asynchronous logging using MSMQ and I have configured the properties as defined in the help (see below) I don't understand where the property 'MsmqPath' is in the app.config for MSMQDistrbutor.exe is it meant to be an aplication settings or an enterprise library setting in the app.config? I have tried creating an...
0
372
by: chawes40 | last post by:
I'm new to C# programming and I'm trying to use asynchronous logging using MSMQ. In the loggingdistributorconfiguration file I have create a DatabaseSink with a stored procedure to log the information. My question is this I have more than one stored procedure that needs to log data to differenct tables within the same database. Example...
0
2049
by: james.dixon | last post by:
Hi I have been having a bit of a look at the Microsoft Logging Application Block (using .NET 1.1). I found it easy to get going, but now have struck a bit of a brick wall. I want to dynamically change the flat file location so that on a pre-defined condition (date changes, file memory size exceeded), a new file is created and logging...
0
1227
by: nsdlsandy | last post by:
I am using .NET 1.1 with Enterprise Library 1.0. I am using a Database Sink to write to Log tables and I have a Separate Custom Sink to write to a flat file. What I am trying to do is use the Database Sink but if Database sink has some error, then Log should be written to File sink. To do this I set the DefaultCategory as General and that...
2
6920
by: Anup Daware | last post by:
Hi Group, Can somebody tell me where I can find the internals of Logging application block 2.0/3.0. I need answers for the questions like: What best practices have followed in the implementation of logging application block? Is buffered writing is supported by this block? Does it write synchronously or asynchronously to the specified...
6
1030
by: McA | last post by:
Hi all, I need a recommendation. I would to like to use the logging module to create log messages the following way: a) Every log message does go to a admin sink. b) The logging of special messages should go to the admin sink AND to a sink specifically for a certain addressee. c) I don't want to write the log message to two different...
0
7568
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, well explore What is ONU, What Is Router, ONU & Routers main...
0
7492
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8007
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...
1
7526
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7852
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5409
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
1
1990
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
1
1106
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
808
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...

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.