Configuring log files

You can set the logging level, view the logging level, change the log location, and view log location information by using REST Administration APIs. You can also configure log rotation in a Docker environment by using Docker commands and modifying a sample log rotation file.

By default, Eclipse Amlen provides several logs files:
imaserver-default.log
This log file shows all log entries about the operation of the server. High severity entries that are shown in other logs are also logged in the imaserver-default.log.
imaserver-connection.log
This log file shows log entries that are related to connections. These entries can be used as an audit log for connections, and also indicates errors with connections.
imaserver-security.log
This log file shows log entries that are related to authentication and authorization. This log can be used as an audit log for security-related items.
imaserver-admin.log
This log file shows log entries that are related to running administration commands. It records all changes to the configuration of the Eclipse Amlen, and attempted changes.
imaserver-mqconnectivity.log
This log file shows log entries that are related to MQ Connectivity function. These entries include problems found connecting to queue managers. The log can help diagnose problems in connecting Eclipse Amlen to IBM® MQ.

The log files have different logging levels that determine the number of messages are that logged. For more information about the levels, and how to set the logging level, see Setting the logging level.

Log location can be a file or a syslog server. You can change log location for each of these components and view the log location information by using REST Administration APIs. For more information about changing and displaying log location, see Changing and viewing log location information by using REST Administration APIs.

You can specify syslog server configuration and view information about existing syslog server configuration by using REST Administration APIs. For more information about configuring and viewing syslog server information, see Configuring and viewing syslog server information by using REST Administration APIs.