Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

Example Configuration File

You can add configuration information to the configuration file using the appSettings and add elements. Here is an example:

<?xml version="1.0" encoding="utf-8" ?>
    <add key="server" value="localhost" />
    <add key="logfile" value="c:\PhonebookObj.log" />
    <add key="namespace" value="USER" />
    <add key="user" value="_SYSTEM" />
    <add key="pwd" value="SYS" />
    <add key="logging" value="yes" />
    <add key="port" value="1972"/>

Notice that there is an add element containing a key attribute with value logging and a value attribute with value yes. This element can be used to dynamically enable and disable logging.