Siebel CRM Desktop for IBM Notes Administration Guide > Administering Siebel CRM Desktop > Administering Logging >

Using Script to Modify Logging Levels


You can use the application.logger object in a script to modify logging levels.

To use script to modify logging levels

  1. Use a JavaScript editor to open the application.js file.
  2. Add the following code:

    var log_settings = application.logger.settings.log_settings_1;
    log_settings_2;
    log_settings.save();

    where:

    • log_settings_1 is set to one of the following values:
      • general_log_settings
      • exception_log_settings
      • crash_dump_settings
      • sync_dump_settings
      • soap_dump_settings
    • log_settings_2 is set to one of the following values:
      • log_settings["enabled"] = 1
      • log_settings.set ("enabled", 1))

        For example:

    var log_settings = application.logger.settings.general_log_settings;
    log_settings["enabled"] = 1;
    log_settings.save();

Siebel CRM Desktop for IBM Notes Administration Guide Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Legal Notices.