473,382 Members | 1,583 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,382 software developers and data experts.

Enterprise Library - Different categories logging to the same sink (file)

Udi
Hi All,
I have several types of messages that I need to log to several files
(a.log, b.log and c.log).
In addition, there's an additional "dirty" log file (Main.log) that
collects all types of messages.
Say I have several categories that each has several sinks (e,g, - a.log
and Main.log)
One of those sinks is the (same) file - Main.log, and it is included in
all categories.

Does the enterprise library use a thread per sink (which keeps the
order of the messages that arrive to the sink), or do I need to worry
about the order my messages will be logged, assuming of course they are
coming from different threads (probably by using a ThreadPool)?
Thanks!
Udi.

Apr 5 '06 #1
0 1288

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

Similar topics

1
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...
1
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...
6
by: Jonathan Crawford | last post by:
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473 Hi I have installed the enterprise library on a development machine and created a project on our webserver. When...
1
by: sreedharv | last post by:
Log4Net vs Enterprise Library - Logging Application Block Please list or point to the comparison. My requirements are: - 50 to 70 web servers - Track Machine name - Extract class / method...
1
by: rohan_from_mars | last post by:
Can anyone provide me with links or information and example on using database sink in Enterprise Library. I m using june 05 version and VS 2003. My main question is how and where do i provide...
1
by: =?Utf-8?B?R3JlZyBTdGVlbGU=?= | last post by:
Does anyone know how to set an email account userID and password for the Enterprise Library Logging code block email sink? I can send email to an SMTP server only when it allows unauthenticated...
0
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...
0
by: =?Utf-8?B?YW5rMmdv?= | last post by:
Hi, Thanks in advance for reading this. Not sure where to post this question, but I hope someone in here can help. Trying to write to Event Log in VS 2005 (.NET 2.0) using Enterprise Library...
6
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
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...

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.