J
JV
I added enterprise library logging to an application using a custom event
log. It works but it generates error entries in the Application log as
well. Apparently it's trying to create some sort of counters and failing.
I have so far found nothing to explain this.
Error examples:
Failed to create instances of performance counter 'Client: # of Logs
Written/Sec' - The requested Performance Counter is not a custom counter, it
has to be initialized as ReadOnly..
Failed to create instances of performance counter 'Distributor: # of Logs
Distributed/Sec' - The requested Performance Counter is not a custom
counter, it has to be initialized as ReadOnly..
Failed to create instances of performance counter '# of Exceptions
Handled/Sec' - The requested Performance Counter is not a custom counter, it
has to be initialized as ReadOnly..
log. It works but it generates error entries in the Application log as
well. Apparently it's trying to create some sort of counters and failing.
I have so far found nothing to explain this.
Error examples:
Failed to create instances of performance counter 'Client: # of Logs
Written/Sec' - The requested Performance Counter is not a custom counter, it
has to be initialized as ReadOnly..
Failed to create instances of performance counter 'Distributor: # of Logs
Distributed/Sec' - The requested Performance Counter is not a custom
counter, it has to be initialized as ReadOnly..
Failed to create instances of performance counter '# of Exceptions
Handled/Sec' - The requested Performance Counter is not a custom counter, it
has to be initialized as ReadOnly..