Show TOC Start of Content Area

Procedure documentation Adding, Editing and Removing Log Destinations  Locate the document in its SAP Library structure

Use

This procedure describes how you can manage the destination where the messages are written to. The log destination is also the object to which you specify and assign an appropriate formatter for the log, as well as multiple 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 Log Configuration   Destinations .

       2.      Choose any destination name in the list and then choose New.

A dialog box appears.

Editing a Destination

       1.      From the Destinations pane, select the destination you want to edit.

       2.      In the Enter Name field specify the name of the new destination.

The new destination appears in the Destinations pane.

       3.      Choose the Type dropdown list and specify the desired destination type.

You can select a default one: FileLog  or ConsoleLog.

More information: Log (Destination)

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

The default path containing the destination's name is specified.

       5.      In the Limit field, specify the maximum number of bytes each file piece of the rotating file-set can contain.

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

More information: Appendix A: Severity Levels.

       7.      In case your destination is of type File (FileLog), you can decide to specify whether there will only be one file, or a rotating number of files. In the last case, use Count field to specify the number of files in a rotation stack, and the Limit field, to define in bytes the size of one file from the rotation stack.

       8.      In the Formatter pane, select a new formatter. That is the format in which the log destination will print the messages.

More information: Formatter .

       9.      Choose This graphic is explained in the accompanying text Apply.

Removing a Destination

...

       1.      From the Destinations pane, select the destination you want to remove.

       2.      Choose Remove .

       3.      Choose This graphic is explained in the accompanying text Apply.

Note

For the changes to take effect, restart the cluster.

 

End of Content Area