473,396 Members | 2,070 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Logging Application Block - Databases Trace Listener???

Hi!

I consider using the Logging Application Block, Enterprise Library, Jan
2006 in a major project. To date, I've found that some of its features
are not very well documented.

One important thing is logging to a database. I tried configuring a
database trace listener in the "Enterprise Library Configuration".
There I'm stuck. Stored procedures? Which ones exactly? What parameters
do they take? I'm pretty confused. It also seems it implies the use of
the database application block, which I don't want to use. Another
option may be writing my own provider, but that starts making this
library less of an abstraction.

Have anyone experimented with database logging in this context? Any
help is welcome. Thanks!

Amit

Apr 30 '06 #1
7 9313
I have used to the Logging Application Block and it does require use of the
DAAB. However, this is good architecture because it is based on reusability.
The Enterprise Library comes with all of the scripts you need to install
the database as well as the stored procedures to log to the database. The
EHAB also makes use of these features for logging exceptions. Let me know
if you have anymore questions. Good luck.

Shaun C McDonnell
Solutions Architect
Hi!

I consider using the Logging Application Block, Enterprise Library,
Jan 2006 in a major project. To date, I've found that some of its
features are not very well documented.

One important thing is logging to a database. I tried configuring a
database trace listener in the "Enterprise Library Configuration".
There I'm stuck. Stored procedures? Which ones exactly? What
parameters do they take? I'm pretty confused. It also seems it implies
the use of the database application block, which I don't want to use.
Another option may be writing my own provider, but that starts making
this library less of an abstraction.

Have anyone experimented with database logging in this context? Any
help is welcome. Thanks!

Amit

Apr 30 '06 #2
Thanks Shaun!

I were looking for the scripts but am unable to find them. In what
directory do they reside?

Amit

Shaun McDonnell wrote:
I have used to the Logging Application Block and it does require use of the
DAAB. However, this is good architecture because it is based on reusability.
The Enterprise Library comes with all of the scripts you need to install
the database as well as the stored procedures to log to the database. The
EHAB also makes use of these features for logging exceptions. Let me know
if you have anymore questions. Good luck.

Shaun C McDonnell
Solutions Architect
Hi!

I consider using the Logging Application Block, Enterprise Library,
Jan 2006 in a major project. To date, I've found that some of its
features are not very well documented.

One important thing is logging to a database. I tried configuring a
database trace listener in the "Enterprise Library Configuration".
There I'm stuck. Stored procedures? Which ones exactly? What
parameters do they take? I'm pretty confused. It also seems it implies
the use of the database application block, which I don't want to use.
Another option may be writing my own provider, but that starts making
this library less of an abstraction.

Have anyone experimented with database logging in this context? Any
help is welcome. Thanks!

Amit


May 1 '06 #3
the directory is xxx/Microsoft Enterprise Library January 2006
\src\Logging\TraceListeners\Database\Scripts
amitos wrote:
Thanks Shaun!

I were looking for the scripts but am unable to find them. In what
directory do they reside?

Amit

Shaun McDonnell wrote:
I have used to the Logging Application Block and it does require use of the
DAAB. However, this is good architecture because it is based on reusability.
The Enterprise Library comes with all of the scripts you need to install
the database as well as the stored procedures to log to the database. The
EHAB also makes use of these features for logging exceptions. Let me know
if you have anymore questions. Good luck.

Shaun C McDonnell
Solutions Architect
Hi!

I consider using the Logging Application Block, Enterprise Library,
Jan 2006 in a major project. To date, I've found that some of its
features are not very well documented.

One important thing is logging to a database. I tried configuring a
database trace listener in the "Enterprise Library Configuration".
There I'm stuck. Stored procedures? Which ones exactly? What
parameters do they take? I'm pretty confused. It also seems it implies
the use of the database application block, which I don't want to use.
Another option may be writing my own provider, but that starts making
this library less of an abstraction.

Have anyone experimented with database logging in this context? Any
help is welcome. Thanks!

Amit


May 10 '06 #4
the directory is xxx/Microsoft Enterprise Library January
2006\src\Logging\TraceListeners\Database\Scripts

May 10 '06 #5
the directory is xxx/Microsoft Enterprise Library January
2006\src\Logging\TraceListeners\Database\Scripts

May 10 '06 #6
Got it. Thanks!

Amit

May 10 '06 #7
hi all,
i used the LAB to log on a database, it works well with the Logging Database that comes with it, but is it possible to make my own database?, if possible,how the LAB will deal with my Database??
May 17 '06 #8

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

Similar topics

0
by: Joe Bloggs | last post by:
Hi all, I take the pleasure to inform that Dotnet Commons Logging has been released for use. Dotnet Commons Logging, a subproject of the Donet Commons project currently located under the...
4
by: Stanley Cheung | last post by:
hi all, I want to implement logging for a mailinglist application. the mailinglist will auto send out from a queuing table and user want to know the updated status for how many emails have sent....
16
by: Einar Høst | last post by:
Hi, I'm getting into the Trace-functionality in .NET, using it to provide some much-needed logging across dlls in the project we're working on. However, being a newbie, I'm wondering if some...
3
by: Oscar Thornell | last post by:
Hi, I am thinking about doing all my logging asynchronously using a delegate. The main resaon for this would be performance and responsiveness of the application (an ASP.NET app). //Exampel...
0
by: Samy | last post by:
I see this comment in the tracer.cs class in the enterprise library Logging quick starts. "Since Tracer uses the logging block to log the trace message, you can include application data as part...
3
by: Dick | last post by:
How do I integrating ASP.NET Tracing with the Enterprise Library Logging Application Block? I guess this should be possible and in a similar way to the way ASP.NET Tracing is integrated with...
0
by: rajesh.hanchate | last post by:
Please help me in resolving this issue. I am using EnterpriseLibrary 2.0 Exception and logging block for logging exceptions to event log. It works fine for sometime. After some time it stops...
2
by: =?Utf-8?B?d3VyemVsQ2lkZXJtYWtlcg==?= | last post by:
I have created a very simple C# class library (DLL). I have ticked the "Register for COM interop" option in the project properties dialog. I have made the in the AssemblyInfo.cs file. I...
1
by: arunairs | last post by:
Hi, Using the EnterpriseLibrary 4.0, is it possible to Log the method name in the log file. I have it cofigured thus: <loggingConfiguration name="Logging Application Block"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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...
0
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,...

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.