Log Files
The system can produce the following types of log files during run-time:
Pico logs: Logs generated from each Pico
Debug logs: Debug logs are generated when workflows have turned on logging to file. See Log and Notification Functions.
APL logs: When some log commands are used in APL they are logged to a file, see Log and Notification Functions.
See Log Properties for more information.
To view the Log Files, go to Manage → Tools & Monitoring and then select Log Files.
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.
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:
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 presentThe property
pico.stdout
points to a directory where Standard out logs are presentThe 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 |
---|---|
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.