Show TOC

Procedure documentationAdding, Editing and Removing Log Destinations Locate this document in the navigation structure

 

This procedure helps you manage the destinations where you want your log messages to be written. The log destination is also the object, to which you specify and assign a formatter, as well as optional filters.

More information: Log (Destination)

Prerequisites

Start the Config Tool by double-clicking the configtool script file in <SAP_install_dir>/<system_name>/<instance_name>/j2ee/configtool directory.

Procedure

Adding a New Destination
  1. Choose   cluster   <template_name>/ <instance_number>   log configuration   destinations  .

    Recommendation Recommendation

    We recommend that you make your log configurations on instance level.

    End of the recommendation.
  2. Choose any destination name from the tree and then choose New.

    A dialog box appears.

  3. Enter a name for the new destination.

    It appears in the Destinations tree.

Editing a Destination
  1. From Destinations tree, select the destination you want to edit.

  2. Choose the Severity dropdown box to specify a severity level.

    More information: Appendix A: Severity Levels.

  3. Choose Type dropdown list and select a destination type.

    The default ones are FileLog and ConsoleLog.

  4. In case your destination is FileLog type, you can specify whether to be one file, or a rotating number of files.

    In the second case, use Count field to specify the number of files. Also, use the Limit field to define in bytes the size of a file from the rotation stack.

  5. In Pattern field, specify the path to the file where messages will be written.

  6. In Limit field, specify the maximum number of bytes each log file can contain.

  7. In Formatter field, select a formatter. That is the format in which the log destination will print the messages.

    More information: Formatter

  8. Choose Apply Changes (Apply Changes).

Removing a Destination
  1. From Destinations tree, select the destination you want to delete.

  2. Choose Remove.

  3. Choose Apply Changes (Apply Changes).

    Note Note

    You can remove only destinations created by you.

    End of the note.