Global Settings
To customize global settings, select the Configurator tab, and click the Global Settings tab.
The following settings are available on the Global Settings page:
q Global License: Specify the path to the license file.
NOTE |
Global license is used for all instances. To set a separate license for a particular instance, see Configuring Instances, point 6. |
q Log level: Select the log level from the drop-down list (the default value is All).
q Log size (kb): Enter the log size (the default value is 1024).
q Log max archived files: Enter the max number of archived files (the default value is 50).
q Global timeout: Enter to set receiveTimeout for all URI schemes. The receiveTimeout setting can be configured manually for each particular scheme via config.xml.
Path to this file: C:\Program Files\Datawatch\Datawatch Server\Config\config.xml
This parameter is located in the <binding> of the <basicHttpBinding>, <wsHttpBinding>, <netTcpBinding>, <netNamedPipeBinding>:
<bindings>
<basicHttpBinding>
<binding name="basicHttpBinding"
openTimeout ="00:10:00"
sendTimeout ="00:10:00"
closeTimeout="00:10:00"
receiveTimeout ="01:00:00"
maxReceivedMessageSize="2147483647"
transferMode="Streamed">
<readerQuotas
maxStringContentLength="2147483647"
maxArrayLength="2147483647" />
</binding>
</basicHttpBinding>
...
</bindings>
To save changes, click Apply.
NOTE |
User session ID may be logged by modifying the config file as follows: a. Open the config.xml file and locate the logging template field. b. Modify this field by adding {keyvalue(sessionId)}. q The field should appear as: q template="[{timestamp(local:G)} {severity} {keyvalue(sessionId)}] {message}" [For local:G, additional information is available here.] For a new installation of Monarch Server The config.xml file may be modified as follows: <formatters> <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Culture=neutral" template="[{timestamp(local:M/d/yyyy h:mm:ss.ffff tt)} {severity} {keyvalue(sessionId)}] {message}" name="Text Formatter" /> </formatters>
For an upgrade to the latest version of Monarch Server a. Perform the upgrade as usual (refer to the Monarch Server Installation Guide or the Monarch Server Single Server Installation Guide). b. Open the config.xml file and locate the old template field: <formatters> <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Culture=neutral" template="[{timestamp(local:G)} {severity}] {message}" name="Text Formatter" /> </formatters> c. Replace this field with following: <formatters> <add type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Culture=neutral" template="[{timestamp(local:M/d/yyyy h:mm:ss.ffff tt)} {severity} {keyvalue(sessionId)}] {message}" name="Text Formatter" /> </formatters> d. Save the changes. e. Restart Services to apply the changes made. |