Sun Java Enterprise System 5 Installation Guide for UNIX

Using the Log Viewer

The Java ES Log Viewer provides a graphical display for viewing the ULF log messages from the JavaES_Install_log.timestamp file or the JavaES_UnInstall_log.timestamp file. You display a log file by selecting Open in the File menu on the Log Viewer main page. If the file you specify already exists or cannot be opened for writing, a Log Viewer error occurs and you are returned to the Log Viewer main page. Such a file cannot exist in the directory used by the installer to store source logs.

The messages that meet your filtering criteria are displayed in a single log table when you click the Search button. After the log table is displayed, an individual row in the log table can then be selected for detailed display, including display in multiple-line format.

How Filtering Works

To tailor your logging output, you indicate your display preferences and search criteria on the Log Viewer main page after you have selected a ULF log file. Display Preferences indicate what language you want your selection displayed in, and what limitations to apply in displaying the filtered records.

There are three ways to filter messages so that the messages displayed are of sufficient importance or interest: by log level, by logger, and by content.

Some typical search criteria:

ProcedureTo Run the Log Viewer

Because the Log Viewer operates in read-only mode, multiple users can run the Log Viewer at the same time.

  1. On the command line, navigate to the location of the Log Viewer:

    • Solaris SPARC: /var/sadm/prod/SUNWentsys5i/Solaris_sparc

    • Solaris x86: /var/sadm/prod/SUNWentsys5i/Solaris_x86

    • Linux: /var/sadm/prod/sun-entsys5i/Linux_x86

    • HP-UX: /var/sadm/prod/sun-entsys5i/HPUX_PA-RISC

  2. Start the Log Viewer.


    ./viewlog

    The Log Viewer main page is displayed.

  3. In the File menu, select a log file for display.

    If the file you select is not ULF, you receive a message saying the selected file is not ULF and cannot be selected. Only ULF files can be displayed using the Log Viewer.

    If no ULF log files are available, the installation or uninstallation might not be completed yet. Wait and try again.

  4. Choose Display Preferences and Search Criteria for your scenario.

  5. Click Search.

    The log table displays the records that match your filtering criteria.