[AIX Solaris HP-UX Linux Windows][z/OS]

Configuring the external log viewing service

To view the log files for externally created middleware servers, configure the external log viewing service. By using this service, you can view the log files for servers with the administrative console instead of viewing the log files on each node.

Before you begin

  • Create and configure your middleware servers.
  • You must know the path to the log files for the server.
  • To add new log files to the service, you need administrator administrative privileges. If you want to view existing log file output, you need configurator administrative privileges.

About this task

By configuring the external log viewing service, you can view logs for your other middleware servers in the administrative console. By default, some log files are configured to be viewed in the external log viewing service with the server template for your middleware server type. You can add to this default list of log files.
Restriction: You cannot use the graphical logs and trace settings that are included in WebSphere® Application Server for other middleware server types, including middleware agents. Instead, use the external log viewing service to view the logs for these server types.

Procedure

  1. Navigate to the external log service panel for your middleware server.
    In the administrative console, click Servers > All servers > middleware_server > External log service.
  2. To enable the remote log viewing services, select Enable remote log viewing services.
  3. List all the directories that contain log files that you want to view using the remote log viewer.
    Type a directory name, and click Add. The list contains all the paths to the log files. You can use variables such as ${USER_APP_SERVER_ROOT} in your file path.
  4. Click OK. To save your changes to the master configuration, click Save.
  5. View the log files.
    In the administrative console, click Servers > All servers > middleware_server. Click the Log viewer tab. Select a log file to view, and click Retrieve.

Results

You can view the log file to troubleshoot any issues with your middleware server.