This project is read-only.

Anyway to use wildcards for eventSource names?

Topics: General, Using
Dec 22, 2014 at 8:56 AM
When doing out of proc logging with SLAB typically I have a block like:
  <consoleSink  name="ConsoleEventSink" >
          <sources >
              <eventSource  name="Samples-EventSourceDemos-Minimal" level="LogAlways" >
          <eventTextFormatter header="+=========================================+"/>
However I wonder if there is anyway to use wildcards eventSource names as in :

 <eventSource  name="Samples*" level="LogAlways" >
Dec 23, 2014 at 4:31 AM
No, there is no way in SLAB to configure eventSources by name using wildcards.

Randy Levy
Enterprise Library support engineer
Support How-to
Marked as answer by reverseblade on 12/23/2014 at 7:34 AM
Feb 5, 2015 at 4:13 PM
That seems to be a very reasonable enhancement request (and solves someone's "need Log4Net feature hierarchical logging" if I understand that).

Restricting the wildcard to be one that follows a hyphen separator would not seem to lose functionality and could simplify the implementation.
Feb 5, 2015 at 11:09 PM
You can propose new features. We intend to start the planning for a major release soon.
I would prefer to see any proposal as issues on the GitHub repo. ;-)
We are beginning to formally transition to there.