### To view the server log

1. Do one of the following:

   - In the tree component, select the Common Tasks node, then click Search Log Files.

   - In the tree component, select the Application Server node. Click on the Logging tab.

     In The General Information page, click View Log Files.

   The Log Viewer page displays.

2. Use the Search Criteria area to customize and filter the log viewer. Use the basic fields as follows:

   - Instance Name -- Choose an instance name from the drop-down list to view the log for that server instance. The default is the current server instance.

   - Log File -- Choose a log file name from the drop-down list to view the contents of that log. The default is `server.log`.

   - Timestamp -- To view the most recent messages, select Most Recent (the default). To view messages only from a certain period of time, select Specific Range and type a date and time value in the From and To fields that appear. For the Time value, the syntax must take the following form (SSS stands for milliseconds).

         hh:mm:ss.SSS

     For example:

         17:10:00.000

     If the From value is later than the To value, an error message appears.

   - Log Level -- To filter messages by log level, choose a log level from the drop-down list. By default, the display includes all messages that appear in the server log at the chosen log level and more severe levels. Select the checkbox labeled "Do not include more severe messages" to display messages at only the chosen level.

     To ensure that the messages you want to view appear in the server log, first set the appropriate log levels on the Log Levels page. See To configure log levels.

     If you choose to filter log messages based on log level, only messages matching the specified filter criteria are shown. However, this filtering does not affect which messages are logged to the server log.

     Click Advanced Search in the Search Criteria area to make additional refinements to the log viewer. Use the Advanced Options fields as follows.

3. In the Search Results area, customize the display of log messages.

   The Search Results area displays the 40 most recent entries in the server log, with the settings specified on the Logging Settings and Log Levels pages.

   Click the triangle in the upper left corner of the table or click on the Timestamp column header to sort the messages so that the most recent one appears last.

   To view a formatted version of any message, click "(details)." A window labeled Log Entry Detail appears, with a formatted version of the message.

   Click the buttons at the top and bottom of the table to view earlier or later entries in the log file.

##### See Also

- The Logger Namespace Hierarchy

- To configure general logging settings

- To configure log levels