Free cookie consent management tool by TermsFeed Policy Generator

Changeset 2609


Ignore:
Timestamp:
01/06/10 14:32:51 (15 years ago)
Author:
kgrading
Message:

added logging to the wcf behavior (#828)

Location:
trunk/sources
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Server.ADODataAccess/3.2/app.config

    r1530 r2609  
    55    <connectionStrings>
    66        <add name="HeuristicLab.Hive.Server.ADODataAccess.Properties.Settings.HiveServerConnectionString"
    7             connectionString="Data Source=10.20.71.10;Initial Catalog=HeuristicLab.Hive_DBTesting;Persist Security Info=True;User ID=hive;Password=hive;Pooling=true;MultipleActiveResultSets=true"
     7            connectionString="Data Source=127.0.0.1;Initial Catalog=HeuristicLab.Hive;Persist Security Info=True;User ID=hive;Password=hive;Pooling=true;MultipleActiveResultSets=true"
    88            providerName="System.Data.SqlClient" />
    99    </connectionStrings>
  • trunk/sources/HeuristicLab.Hive.Server/3.2/HiveServerApplication.cs

    r2591 r2609  
    7777            serviceHost = new ServiceHost(clientCommunicatorInstances.First().GetType(), uriTcp);
    7878            serviceHost.AddServiceEndpoint(typeof(IClientFacade), streamedBinding, STR_ClientCommunicator);
     79           
     80            ServiceDebugBehavior sdb = serviceHost.Description.Behaviors.Find<ServiceDebugBehavior>();
     81            if (sdb == null) {
     82              sdb = new ServiceDebugBehavior();
     83              serviceHost.Description.Behaviors.Add(sdb);
     84            }
     85            sdb.IncludeExceptionDetailInFaults = true;
     86
     87           
     88
    7989            curServiceHost = STR_ClientCommunicator;
    8090          }
     
    103113      if ((serviceHost != null) && (!String.IsNullOrEmpty(curServiceHost))) {
    104114        AddMexEndpoint(serviceHost);
    105         WcfSettings.SetServiceCertificate(serviceHost);
     115        //WcfSettings.SetServiceCertificate(serviceHost);
    106116        serviceHost.Open();
    107117        runningServices.Add(curServiceHost, serviceHost);
Note: See TracChangeset for help on using the changeset viewer.