Starting and configuring Log Viewer

To start Log Viewer, click on the Log Viewer button in the centre of the Home screen. By default, in a single node setup, logviewer can also be accessed at http://UAS_URL/logviewer

Figure 1: Starting Logviewer


Logviewer comes preconfigured for standard system logs.

The main configuration file for Log Viewer is the file filesource.properties located in the WEB-INF folder of the web application. The file has a reference in web.xml, which should not be necessary to modify.

Log Viewer.logsource.classname

The main entryclass, which handles the logfiles.

logsource.FileSource.default

The type of the log file of which the latest instance is displayed when the browser initially loads Log Viewer

logsource.FileSource.filetype.<identifier>.name

The name of the log-file type represented by the <identifier>. The <identifier> must be unique for each log file used. Use an incrementing number as is used in the existing configuration file.

logsource.FileSource.filetype.<identifier>.type

The built-in specification of the log-file type represented by the <identifier>. 

Valid types are:

  • audit – log format specifically designed for Ubisecure SSO authentication events
  • diag – log format specifically designed for Ubisecure SSO technical events
  • tech – log format specifically designed for Ubisecure SSO technical events
  • statistics – log format specifically designed for Ubisecure SSO statistical events.
  • generic – file contains entries which must start with a date and timestamp, followed by the log message.
  • text – file contains plain text. Each line is interpreted as a single log entry

logsource.FileSource.filetype.<identifier>.path

The location on the file system containing the log file type represented by the <identifier>

logsource.FileSource.filetype.<identifier>.filename

The filename format of the log file type represented by the <identifier>. The strings %YYYY, %MM and %DD can be used to mark the location of date components.

Â