views:

9

answers:

0

Hi,
I use the following code in the web.config file of my WCF application:

    <source name="System.ServiceModel" switchValue="Error, Warning, Information">
        <listeners>
            <add name="LogInApplication" type="System.Diagnostics.EventLogTraceListener" initializeData="Application" />                                
        </listeners>
    </source> 

With these lines I can log events in the application journal, but instead of the other applications, "Application" is written in the column where the others applications have them names written. Is that way to set the name of my application when an event is logged?
Thanks...