WcfSvcRunner default EnterpriseLibrary.config file

Jun 4, 2008 at 11:41 AM
Edited Jun 4, 2008 at 11:49 AM
Hi!
I'm trying to run WCF Latency test, but runned into another problem. :-)

Can somebody post a sample EnterpiseLibrary.config file to use when running WcfSvcRunner.exe?
There is no such file in the distribution, and it is refered from App.config.
I'm not sure how to configure EnterpriseLibrary.Logging correctly.

Thanks in advance!
Coordinator
Sep 3, 2008 at 12:32 PM
The release zip file now contains the EnterpriseLibrary.config file.
Feb 27, 2009 at 6:36 AM
where is release zip?
Feb 27, 2009 at 10:25 AM
Download the zip from the Source Code section.
Oct 7, 2009 at 9:57 AM

Hi! I downloaded the source code, but I didn't find EnterpriseLibrary.config.

Can anyone pls let me know in which version it was included? or what's the path?

Thanks.

Sep 19, 2010 at 8:05 AM

Hi,anybody, I didn't find EnterpriseLibrary.config. in the project folder. who can post this file to me. thanks a lot.

Sep 19, 2010 at 3:35 PM
Edited Sep 19, 2010 at 3:38 PM

Hi!
Adding an empty configuration file
Configuration/EnterpriseLibrary.config should be enough, I think.
Anyway, I'm attaching my .config file with full logging enabled, to
Application event log if I remember right.
I used the Enterprise Library Configuration tool for the setup.
http://www.codeproject.com/KB/architecture/GetLoggingWithEntLib.aspx
Good luck!
Regards,
Roger

2010/9/19 rodneyluo <notifications@codeplex.com>:
> From: rodneyluo
>
> Hi,anybody, I didn't find EnterpriseLibrary.config. in the project folder.
> who can post this file to me. thanks a lot.
>
> Read the full discussion online.
>
> To add a post to this discussion, reply to this email
> ([email removed])
>
> To start a new discussion for this project, email
> [email removed]
>
> You are receiving this email because you subscribed to this discussion on
> CodePlex. You can unsubscribe on CodePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any posts
> to this discussion will also be available online at CodePlex.com

 

<configuration>
  <configSections>
    <section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  </configSections>
  <loggingConfiguration name="Logging Application Block" tracingEnabled="true"
    defaultCategory="General" logWarningsWhenNoCategoriesMatch="true">
    <listeners>
      <add source="Enterprise Library Logging" formatter="Text Formatter"
        log="Application" machineName="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.FormattedEventLogTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        traceOutputOptions="None" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.FormattedEventLogTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        name="Formatted EventLog TraceListener" />
    </listeners>
    <formatters>
      <add template="Timestamp: {timestamp}&#xD;&#xA;Message: {message}&#xD;&#xA;Category: {category}&#xD;&#xA;Priority: {priority}&#xD;&#xA;EventId: {eventid}&#xD;&#xA;Severity: {severity}&#xD;&#xA;Title:{title}&#xD;&#xA;Machine: {machine}&#xD;&#xA;Application Domain: {appDomain}&#xD;&#xA;Process Id: {processId}&#xD;&#xA;Process Name: {processName}&#xD;&#xA;Win32 Thread Id: {win32ThreadId}&#xD;&#xA;Thread Name: {threadName}&#xD;&#xA;Extended Properties: {dictionary({key} - {value}&#xD;&#xA;)}"
        type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
        name="Text Formatter" />
    </formatters>
    <categorySources>
      <add switchValue="All" name="General">
        <listeners>
          <add name="Formatted EventLog TraceListener" />
        </listeners>
      </add>
    </categorySources>
    <specialSources>
      <allEvents switchValue="All" name="All Events" />
      <notProcessed switchValue="All" name="Unprocessed Category" />
      <errors switchValue="All" name="Logging Errors &amp; Warnings">
        <listeners>
          <add name="Formatted EventLog TraceListener" />
        </listeners>
      </errors>
    </specialSources>
  </loggingConfiguration>
</configuration>