Document toolboxDocument toolbox

Log Viewer Grid

 

Log Viewer Example

Overview

The Log Viewer Grid displays the content of the PCR-360 Application and Apache log files. It can also be configured to include additional log files. Each User's preferences are saved as the User changes them from the Grid. The first time you load the Log Viewer Grid; it will load the default values your organization defined.

Default Values

The following configuration options are available in the INI (logviewer.ini). If a User changes any of these options while viewing the page, the new values are automatically saved to that User’s Preferences.

  • logviewer.option.theme = "default"

  • logviewer.option.fontSize = 14

  • logviewer.option.wrapText = false

  • logviewer.option.regexSearch = false

  • logviewer.option.rpp = 50

Loading a File

image-20240628-155824.png

Select an available file and click the Load Button. The file selected in the dropdown will be loaded into the Loge Viewer.

Missing/Unreadable Log File

Missing Log Files will not appear in the dropdown. If a file is unreadable, that file will be disabled in the dropdown.

User Preferences

Basic Search

Make sure the Button next to the Search Input says “Basic,” then type something into the Input. Press Enter. Matches will become highlighted, and rows that do not contain a match will become hidden.

Regex Search

Make sure the Button next to the Search Input says “Regex,” then type something into the Input. Press Enter. Matches will become highlighted, and rows that do not contain a match will become hidden.

Font Size

The Font Size controls how large the text will appear on the screen.

Text Wrapping

Log Output can be set to use Text Wrapping.

Wrapping Disabled

When set to “No Wrap,” each line in the file will display as a single line in the Log Viewer, requiring a User to scroll to continue reading it.

Wrapping Enabled

When set to “Wrap,” each line in the file will be displayed as multiple lines in the Log Viewer, segmented into sections to fit the screen's width.

Grid Theme

This allows users to customize their preferred appearance of the screen background and text appearance of the records loaded by the Log Viewer.

 

Related pages