Oracle CRM On Demand Desktop Administration Guide > Administering Oracle CRM On Demand Desktop > Administering Log Files and Log Profiles >

Creating a Custom Logging Profile


The example in this topic describes how to create a logging profile that enables General Log, Synchronization Dump, and SOAP Dump log entries and sets verbosity for the General Log to Warning.

To create a custom logging profile

  1. In Microsoft Windows, choose Start and then click Run.
  2. In the Run dialog box, enter REGEDIT and then click OK.
  3. Locate the following key:

    HKEY_CURRENT_USER\Software\Oracle\CRM On Demand Desktop\LoggingProfiles

  4. Create a subkey in the key that you located in Step 3.

    Enter a name for this subkey. At run time, Oracle CRM On Demand Desktop displays this name in the logging profile in the Logging Policy drop-down list of the Logging Configuration dialog box. You cannot localize a profile name. Oracle CRM On Demand Desktop stores this name in the registry with the settings that you specify for the profile. For more information, see Assigning a Logging Profile to Oracle CRM On Demand Desktop.

  5. Create the following subkeys in the subkey that you create in Step 4. Create one subkey for each row that the following table contains.
    Subkey Name
    Enable
    Description

    GeneralLog

    Yes

    Set the value of the log_level parameter to the following decimal value:

    3000

    This value configures Oracle CRM On Demand Desktop to log only warnings. For performance reasons, it is recommended that Oracle CRM On Demand Desktop log only warnings during normal operations. For more information, see Windows Registry Parameters That You Can Use with the General Log File.

    ExceptionLog

    No

    For more information, see Windows Registry Parameters That You Can Use with the Exception Log File.

    CrashDump

    No

    For more information, see Windows Registry Parameters That You Can Use with the Crash Dump File.

    SoapDump

    Yes

    For more information, see Windows Registry Parameters That You Can Use with the SOAP Dump File.

    SyncDump

    Yes

    For more information, see Windows Registry Parameters That You Can Use with the Synchronization Dump File.

    If you remove Oracle CRM On Demand Desktop at some point in the future, then it cleans all registry settings during removal.

  6. Assign your custom profile.

    For more information, see Assigning a Logging Profile to Oracle CRM On Demand Desktop.

  7. Optional. To distribute registry modifications in the network, you can use one of following:
    • Imported registration (.reg) files
    • regini.exe
    • Group policy
    • System policy
Oracle CRM On Demand Desktop Administration Guide, Version 5.2 Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.