Operating Systems: AIX, HP-UX, Linux, Solaris, Windows, z/OS
Configure 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, we need administrator administrative privileges. If you want to view existing log file output, we 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
- Navigate to the external log service panel for your middleware server. In the administrative console, click Servers > Other middleware servers >server_type > server_name > External log service.
- To enable the remote log viewing services, select Enable remote log viewing services.
- List all the directories that contain log files 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_INSTALL_ROOT} in your file path.
- Click OK. To save your changes to the master configuration, click Save.
- View the log files. In the administrative console, click Servers > Other middleware servers > server_type > server_name. 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.
Previous topic
Adding middleware servers to configurations
Related concepts
Middleware nodes and servers
Middleware agent
Related tasks
Creating middleware server templates Manage middleware serversRelated information
Middleware server creation administrative tasks