Logs Viewer Redesign Revision
Posted: February 4th, 2022, 10:37 am
As of DesignTime Revision 2134 and RunTime Revision 843 the Logs and the Logs Viewer page have been redesigned. Logs are now stored on a file basis and allows more flexibility with how long applications can hold their logs.
Log Retention: Amount of days until a log file will get deleted. The default values for this variables are as follows:
Max Log File Size MB: Max size, in MB, a log file can be before a new log file is created. The default value for this variable is 100. There are several new features to enhance searching, filtering, and using logs in a log file:
- Added a "Log Files" dropdown to allow the user to switch between log files.
- Added an "Exceptions" checkbox that filters the logs down to records that contain exceptions.
- The Entity Filter has been split into an Object Type dropdown and an Objects List dropdown. Each of these dropdowns has a Match button above them that will fill the dropdown with the Type or Id that is selected in the logs list.
- The "Purge All Logs" button has been split into two buttons called "Clear All Log Records" and "Clear Filtered Log Records". This will allow the user to choose which logs to delete if they would like.
- Each of the columns for the logs are sortable by clicking on the column header.
- Multiple logs can be opened at one time and can be pinned to stay open even during a page refresh by using the pin on the log tab.
- Logs can be downloaded and uploaded using the buttons in the top right corner of the page.
- Log WorkData is now hidden by default and need to be expanded to log to prevent long load times for the page in general.
Added two Error Pages to display instead of the normal black screen and can be customized from the Static Files page. There is a DetailedError.html file that is used in DV and QA environments that contain a stack trace. There is also a SimpleError.html page that is used for PD environments and it does not contain a stack trace.
Three new variables have been added to facilitate the logs and can be found in the Edit Application widget. To get to the Edit Application widget click on the "Applications" link on the homepage or menu and hit "Edit" on the desired application.
Default values will be described below and are set as the value 0 in the variables. Log Retention: Amount of days until a log file will get deleted. The default values for this variables are as follows:
- DV Default: 1
- QA Default: 5
- PD Default: 30
Max Log File Size MB: Max size, in MB, a log file can be before a new log file is created. The default value for this variable is 100. There are several new features to enhance searching, filtering, and using logs in a log file:
- Added a "Log Files" dropdown to allow the user to switch between log files.
- Added an "Exceptions" checkbox that filters the logs down to records that contain exceptions.
- The Entity Filter has been split into an Object Type dropdown and an Objects List dropdown. Each of these dropdowns has a Match button above them that will fill the dropdown with the Type or Id that is selected in the logs list.
- The "Purge All Logs" button has been split into two buttons called "Clear All Log Records" and "Clear Filtered Log Records". This will allow the user to choose which logs to delete if they would like.
- Each of the columns for the logs are sortable by clicking on the column header.
- Multiple logs can be opened at one time and can be pinned to stay open even during a page refresh by using the pin on the log tab.
- Logs can be downloaded and uploaded using the buttons in the top right corner of the page.
- Log WorkData is now hidden by default and need to be expanded to log to prevent long load times for the page in general.
Added two Error Pages to display instead of the normal black screen and can be customized from the Static Files page. There is a DetailedError.html file that is used in DV and QA environments that contain a stack trace. There is also a SimpleError.html page that is used for PD environments and it does not contain a stack trace.