Log Files

The system can produce the following types of log files during run-time:

See Log Properties for more information.

To view the Log Files, go to Manage → Tools & Monitoring and then select Log Files.

Screenshot 2024-03-01 at 13.05.44.png
Log Files start page

Filter Dialog

Before anything is visible in the tables a selection needs to be made in the filter dialog. Click on the Get Started button to see the Filter dialog.

logfiles-filter.png
Filter Dialog

Item

Description

Item

Description

Pico/EC

This dropdown shows the running Picos/EC to fetch logs from. This field cannot be left blank.

For each selected Pico, a request will be sent to that Pico to list all files in a specific folder. If you select Picos in bulk, the response time might be slow depending on the network of each Pico.

Date Range

Define a range of dates to display log entries for. A few predefined options are available. If no date range is defined, all entries are displayed. The default date range is set to Today. The available options are:

  • User-defined

  • All

  • Last hour

  • Today

  • Yesterday

  • This week

  • This month

If you select User-defined, enter the Start date and time and End date and time.

Hide Empty files

Select this to remove files with a size of 0

Pico Log File Tab

On each Pico it will list files from some directories found by these:

  • The property pico.stderr points to a directory where Standard error logs are present

  • The property pico.stdout points to a directory where Standard out logs are present

  • The property log4j.configurationFile points to a configuration file, if not present it reads the file $MZ_HOME/etc/log4j2.xml. This file points to a normal log directory and a history log directory.

So if the different Picos point to the same persistent directories same file will be listed from multiple Picos. The UI filter duplicates so only one file with the same name and time will be present.

Debug Log File Tab

On each EC it will list files from the debug folder decided by the parameter mz.wf.debugdir. If this parameter is not set it will list files from the debug folder inside the temporary folder decided by the parameter pico.tmpdir.

APL Log File Tab

On each EC it will read the log4j configuration described here, log4j APL Logging Configurations, to list the files in the directory specified by log4j.

Table

All three tabs have the same layout on the table.

 

Item

Description

Item

Description

Filter Button

Displays the filter dialog

Refresh Button

Updates the file list

Name Column

The name of the log file

Last Modified Column

The date and time when the file was last modified

Pico/EC Column

The Pico/EC file is present

Size Column

Size of the log file

Actions

Opens the Actions menubar with the option Download and Preview.

Preview

It is possible to view the first 10 Mb of a file, by clicking the Preview item in the Actions column.

It is also possible to download the log file from the Preview dialog.