To configure the LogViewer using the GUI

Purpose

Perform this procedure to use the LogViewer GUI to configure general options for the LogViewer GUI and CLI.

Steps
 

Open the LogViewer GUI.


Choose Edit→Options→General from the LogViewer main menu, or click Application options in the main tool bar. The Options form opens.


Configure the required parameters:

  • Last Directory—Click in the parameter field and use the browser form that opens to specify where to save exported log profiles.

  • Base File Messages Directory—Click in the parameter field and use the browser form that opens to specify the base log directory.

  • Default Character Set—Edit this parameter to specify the character set that LogViewer uses to display the log-file contents.

  • Default Log Pattern—Edit this parameter to specify a regular expression that LogViewer uses to interpret log-file contents.

  • Default Date Format—Enter a colon-separated string to specify the LogViewer date format using y for year digits, M for month digits, d for date digits, H for hour digits, m for minute digits, s for second digits, and S for millisecond digits, for example, yyyy:MM:dd HH:mm:ss:SSS.

  • Regular Expression Help URL—Enter a value to specify the location of the Java regular-expression help web page that opens when you click Help while testing a regular expression for a filter.

  • Web Browser Location—Enter a value to specify the location of the local file browser used to open the Java regular-expression help web page.

  • Quick Links Refresh Time (ms)—Enter a value to specify how often LogViewer refreshes the Quick Links list.

  • Rollover Remove Size—Enter a value to specify the number of log entries to remove from the LogViewer display when the maximum number of displayed log entries is reached.

  • Delay for local file polling (ms)—Enter a value to specify, in ms, how long LogViewer waits before it checks local log files for updates.

  • Hide Table Tooltips—Select this parameter to suppress the display of tool tips when the mouse pointer moves over log entries in a log tab.

  • Use Simple Filters—Select this parameter to allow the use of simple filters.

  • Advanced Quick Filter—Select this parameter to display the advanced Quick Filter table header on log tabs.

  • Display Advanced Quick Filter—Select this parameter to display the advanced Quick Filter table header on the log tab when a log file is opened.

  • Include Host in Title—Select this parameter to display the hostname in the log title.

  • Show Memory Monitor—Select this parameter to display the memory monitor at the bottom right corner of the LogViewer window.

  • Memory Monitor Clear Messages—Select this parameter to allow the memory monitor to attempt recovery by clearing some messages from live event logs when the memory threshold is exceeded.

  • Clear Log on Rollover—Select this parameter to clear the events from the logs when a Style View file rolls over or is moved.

  • Style View—Select this parameter to display the styled preview pane.

  • Memory Monitor Threshold (%)—Enter a value to specify the percentage of available memory that LogViewer uses before it stops displaying log updates.

  • Max. Recent Files—Enter a value to specify the number of files that LogViewer keeps in the list of recently opened files.

  • Max. Profile Files—Enter a value to specify the number of profile files that LogViewer keeps in the list of recently opened files.

  • LogViewer Log Level—Choose a logging level from the drop-down menu to specify the minimum log level of the LogViewer-specific log messages.

  • Enable Viewer Performance Stats—Select this parameter to enable the display of LogViewer performance statistics.

  • Stats Timer (seconds)—Enter a value to specify the number of seconds that LogViewer waits between log statistics updates.


Click on the Command Line tab to configure the LogViewer CLI.


Configure the following parameter:

  • Command line buffer size—Enter a value to specify the number of log messages that LogViewer buffers when the CLI is in command mode.


Choose an ANSI display attribute from the drop-down menu beside each of the following parameters to specify how the CLI displays the corresponding text.

  • Normal Display—for normal text

  • Trace Level Display—for trace-level log entries

  • Debug Level Display—for debug-level log entries

  • Info Level Display—for info-level log entries

  • Warning Level Display—for warning-level log entries

  • Error Level Display—for error-level log entries

  • Fatal Level Display—for fatal-level log entries

  • Filter Display—for filtered log entries


Configure the Always Use ANSI Display parameter, as required.


Click on the NFM-P tab to configure the required parameters that are specific to the NFM-P.


Configure the required parameters by clicking in the parameter field and using the browser form that opens to specify a directory:

  • Database Location—specifies the base NFM-P database installation directory

  • Oracle Location—specifies the base NFM-P Oracle installation directory

  • NMS Root—specifies the nms directory under the base NFM-P server installation directory

    Note:

    Your configuration of LogViewer is stored in the user directory. Any filters, fonts, colors, or other preferences you have set are preserved when you install a newer version.


10 
CAUTION 

CAUTION

Service Disruption

The parameters on the Advanced tab typically require configuration only when LogViewer has performance problems.

Consult technical support before you attempt to modify a parameter on the Advanced tab, as it may affect server performance.

Click on the Advanced tab to configure the required parameters related to LogViewer performance.

End of steps