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
Use a JavaScript editor to open the application.js fileor the forms.js file.
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();