Jump to: navigation, search

Difference between revisions of "HowTo:Configure Logging"


(Created page with "Logging in {{UBIK}} can be configured for the Web Service as well as for the UBIK.Studio. The logging for the Web Service can be configured via editing the [[UBIK_Web_Service...")
 
Line 1: Line 1:
Logging in {{UBIK}} can be configured for the Web Service as well as for the UBIK.Studio.
+
Logging in {{UBIK}} can be configured for the Web Service as well as for the UBIK.Studio. The general configuration for logging is described [http://msdn.microsoft.com/en-us/library/ms733830%28v=vs.110%29.aspx here].
  
The logging for the Web Service can be configured via editing the [[UBIK_Web_Service_Configuration|Web Service Configuration]] in section [[UBIK_Web_Service_Configuration_Example#loggingConfiguration|loggingConfiguration]]:
+
The logging for the Web Service can be configured via editing the [[UBIK_Web_Service_Configuration|Web Service Configuration]] in section [[UBIK_Web_Service_Configuration_Example#loggingConfiguration|loggingConfiguration]].
<ol>
+
<li>Open [[UBIK_Studio_Basics|UBIK Studio]] and connect to the database which should be configured for LAS.</li>
+
<li>Open [[UBIK_Studio_Basics#Database_specific_settings|database specific settings]] and set</li>
+
{| class="wikitable" | width = "50%"
+
|-
+
! Parameter!! Value!! Comment
+
|-
+
| ''SessionManagementType''|| '''1''' || 0 = Local Management, 1 = LAS, 2 = GAS
+
|-
+
| ''SessionServiceUrl''|| https://SERVERNAME/UBIK/USAM.svc/SOAP?? || Address of the authentication service
+
|}
+
</ol>
+
<ol start="3">
+
<li>Open the [[UBIK Web Service Configuration|web.config]] of the data service and set the session's management type and URL to the according address of the web service.</li>
+
<source lang="xml">
+
  <appSettings>
+
    ...
+
    <add key="UBIK.Service.SessionManagementType" value="1" />
+
    <add key="UBIK.Service.SessionManagementUrl" value="https://SERVERNAME/UBIK/USAM.svc/SOAP" />
+
    ...
+
  </appSettings>
+
</source>
+
<li> If the authentication service is in a different location, open the [[UBIK Web Service Configuration|web.config]] of the USAM service:<br/>
+
* the settings in the configuration file are the same as in the data service
+
* however, the settings for the SessionManagementType and the SessionManagementUrl will be ignored
+
</li>
+
</ol>
+
{{Attention|It is important that the authentication service connects to the same database as the data service!}}
+
  
[[Category:How-To]]
+
The logging in UBIK.Studio can be configured by editing the app.config file located in the program folder of UBIK.Studio.

Revision as of 12:26, 25 March 2014

Logging in UBIK® can be configured for the Web Service as well as for the UBIK.Studio. The general configuration for logging is described here.

The logging for the Web Service can be configured via editing the Web Service Configuration in section loggingConfiguration.

The logging in UBIK.Studio can be configured by editing the app.config file located in the program folder of UBIK.Studio.