Adding, Editing and Removing Log Formatters
Use
Each log type can print messages in different formats: TraceFormatter, XMLFormatter , and ListFormatter . This procedure helps you manage the log formatters.
More information: Formatter
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 Formatter
-
Choose .
-
Select any formatter from the tree and then choose New .
A dialog box appears.
-
Enter a name for the new log formatter and then choose OK .
The new formatter appears in the Formatters tree.
Editing a Formatter
-
From Formatters tree, select the formatter you want to edit.
-
From Type dropdown box, choose the formatter type.
The following are default ones:
-
ListFormatter - formats log records that can be transferred to and processed further by another application (for example, by Log Viewer).
-
TraceFormatter - formats log records in human readable format. You can specify a pattern to this format. If you do not specify such, the default one is created.
-
XMLFormatter - formats log records as XML elements.
-
-
Choose Pattern field to configure the formatter.
-
Choose
.
Removing a Formatter
-
From Formatters tree, select the formatter you want to delete and choose Remove .
-
Choose
.

