Redirecting scripting logs to a separate log file

You can redirect your scripting logs to a separate log file. This feature is convenient for troubleshooting scripts.

Procedure

  1. In the Logging application, click Manage Appenders from the More Actions menu.
  2. In the Manage Appenders dialog, click New Row.
  3. In the Appender field, enter the name ScriptingOnly.
  4. In the Appender Implementation Class field, enter psdi.util.logging.MXFileAppender.
  5. In the File Name field, enter a name, for example, autoscript.log.
  6. Accept the default values for the other items.
  7. Click OK to save the new appender.
  8. In the Root Loggers window, locate the autoscript logger.
  9. Click the chevron button next to autoscript to expand the details.
  10. Click the Manage Appenders icon next to the Appenders field.
  11. Select only the appender you created earlier, which is ScriptingOnly, and deselect any other appender previously associated with this logger.
  12. Click OK to save the new association. From the Select Action menu click Apply for the log settings to take effect.