Before you begin
After you create a SAF agent, you can change the default name of its log file, as well as configure criteria for moving (rotating) old log messages to a separate file. A SAF agent's log file contains the basic events that a JMS message traverses through, such as message production, consumption, and removal. However, logging must be enabled on the imported destinations in the JMS modules targeted to this SAF agent.
The content of the message log always includes message ID and correlation ID, but you can also configure information like message type and user properties on specific destinations.
To configure a log file parameters for a SAF agent:
Enter an absolute pathname or a pathname that is relative to the server's root directory. If you use the Node Manager to start a Managed Server, the root directory is located on the computer that hosts the Node Manager process. For more information, see A Server's Root Directory.
By
Size
.
filename.log
.
By Time
.
Use the following
format: hh
:mm
, where hh
is the hour in a
24-hour format and mm
is the minute. At
the time that you specify, the SAF agent rotates the current log
file. If the time that you specify is already past, the SAF
agent starts its file rotation immediately. Thereafter, the SAF
agent rotates the log file at an interval that you specify in
Rotation Interval.
For more information about these fields, refer to Configuration Options.
Enter an absolute pathname or a pathname that is relative to the server's root directory. By default, the rotated files are stored in the same directory where the log file is stored.
For more information, see A Server's Root Directory.
After you finish
If you modified the Log file name, Log File Rotation Directory, or Rotate log file on startup fields, then you must restart the server.