By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,726 Members | 1,222 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,726 IT Pros & Developers. It's quick & easy.

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

P: n/a
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)?

Apr 5 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.