Log settings
This topic is about the Diagnostic log, the information it provides, and how to customize the settings.
This topic describes the Log settings section, the information it provides, and the options that can be configured.
Board provides a wide range of logging capabilities in order to comply with industry auditing rules and regulations, and to provide system administrators and maintenance teams with the information they require for troubleshooting, incident management, and disaster recovery. Logs are also very useful for tracking the performance of a Platform application or solution in order to make it as efficient as possible.
Some of the logs that Board provides are automatically generated and stored in specific folders by default, while others must be enabled or disabled manually. You can manually enable or disable these logs in the Logs settings page.
To access the Log settings section, access the System Administration area of the desired Platform and click on the Log settings tile. You will be taken to the Log settings page.
In the Log settings page, you can see a table view of all the log options that you can enable or disable. On top of the table you can set the verbosity level for the Diagnostic log.
These are the available verbosity levels:
- Off. The Diagnostic Log is turned off
- Error. Returns the same amount of information included in the previous Exception log
- Warning. Returns the same amount of information as the Error level plus exceptions with no impact on the user
- Information (default). Returns the same amount of information as the Warning level plus additional information about non-error actions, such as Data model loading, Dataflow executions, Data Reader executions, Data Entry actions.
At this level, the Diagnostic log file also includes lines written in all other Board log files. Entries generated by the same request have the same "TaskId" value, while entries belonging to the same Procedure have the same "CorrelationId" value - Debug. The highest verbosity level: includes the same amount of information as the Information level plus information about the start and end of each task
Each log line will always include the following information: timestamp, error level, action, TaskId, user, CorrelationId, additional details specific for each action.
Log files are rolled at the end of each month or when they reach a file size of 50 Mb, whichever comes first. Only the last 10 rolled files are kept. Log files older than two months are automatically deleted.
The table below contains the following information:
- Status. This column displays a checkbox for each log that you can enable or disable
- Log level. This column displays the type of events that are recorded in each log
- File name. This column displays the full path of the log file for each type of log
Enabling or disabling a Log option
Apart from the Diagnostic Log, select the checkbox near the desired log to enable it.
The available logs are the following:
- Database Log Events. This log keeps track of each action that users perform on Data models, either manually or through Procedures. Board creates a log file for each Data model in the following full path: ...\Dataset\Log\HBMP_DatamodelName_YYYYMM.log (i.e. "HBMP_MyDatamodel_202306.log"). See this page for more information
- Capsules Log Events. This log keeps track of various user activities in Board and is usually used for auditing or to identify redundant or rarely utilized Screens and/or Procedures in order to optimize a Platform solution. Since a user may perform many activities in a Capsule or Presentation, the tracking of this log is separated into three different levels, which are the next three logs in the list (Layout Log Events, Procedures Log Events, and Dataflow Log Events). Therefore, enable this option if you want to track user activities, and then enable one or more of the three logs below to choose the desired level of logging. Board stores the information of this log (also known as Capsule log) in a single file in the following full path: ...\Dataset\Log\Cpsx_YearAndMonthOfCreation(YYYYMM).log (i.e. Cpsx_202306.log)
No log file is created if you enable only the Capsule Log Events option. You must also enable at least one of the next three log options below to create the Capsule log file.
Depending on the number of users of your Platform and the operations they perform, this log can grow in size very quickly. For this reason, it is recommended that you archive this log periodically.
- Layout Log Events. This log keeps track of the execution of all Layouts associated with Screen Objects that a user views in a Screen or Presentation Slide. For example, if a user visits a Screen that contains two Data View Objects, each associated with a Layout, the log tracks the name, Data Blocks, and other information of those Layouts along with the Capsule folder and Capsule name where those Layouts are executed. Board stores the information of this log in the Capsule log explained above
You must enable the Layout Log Events option in conjunction with the Capsules Log Events option above to save the Layout log information in the Capsule log file. If you don't also enable the Capsules Log Events option, Board will not save Layout information in the log file.
- Procedures Log Events. This log tracks information about Procedures that users run in Capsules, Presentations, or directly in the Procedures section of a Data model. Board stores the information of this log in a single file in the following full path: ...\Dataset\Log\ProcedureExecution_YearAndMonthOfCreation(YYYYMM).log (i.e. ProcedureExecution_202306.log)
To save information about the execution of Procedures in the Capsule log file, the Procedures Log Events option must be enabled along with the Capsule Log Events option.
- DataFlow Log Events. This log keeps track of information about Dataflow Procedure steps that users run in Capsules, Presentations, or directly in the Procedures section of a Data model. Board stores the information of this log in the Capsule log explained above
To save information about the execution of Dataflow Procedure steps in the Capsule log file, the DataFlow Log Events option must be enabled along with the Capsule Log Events option.
- Capsule Modification Log Events. This log keeps track of information about the editing, creation, or deletion of Capsules and Screens. Board stores the information of this log in a single file in the following full path: ...\Dataset\Log\CapsuleModification_YearAndMonthOfCreation(YYYYMM).log (i.e. CapsuleModification_202306.log)
- Procedure Modification Log Events. This log keeps track of information about the editing, creation, or deletion of Procedures. Board stores the information of this log in a single file in the following full path: ...\Dataset\Log\DbProcedureModification_YearAndMonthOfCreation(YYYYMM).log (i.e. DbProcedureModification_202306.log)
- Data Entry Log Events. This log keeps track of changes to values in Cube cells when users perform Data entry actions. This log is particularly useful in the case of unauthorized data changes or before starting a roll-back process. Board stores the information of this log in a single file in the following full path: ...\Dataset\Log\DataEntry_YearAndMonthOfCreation(YYYYMM).log (i.e. DataEntry_202306.log)
- Smart Import log. This log keeps track of Smart Import data entry events (every single row processed) in the Smart Import log, including timestamp, user, Data model, Caspule path, Screen name/id, Records (single fields, comma separated), "OK" for successful commits and "KO" for unsuccessful and partially unsuccessful commits. Board stores the information of this log in a single file in the following full path: …\Dataset\Log\SmartImport_DateofCreation(YYYYMMDD).log (i.e. SmartImport_20230610.log)
This log is enabled by default. Log files are rolled at the end of each month or when they reach a file size of 50 Mb, whichever comes first. Log files are never deleted.
There is an additional log called "Audit" which stores information on the creation of new User accounts, changes applied to existing User account, deletion of existing User accounts, and users login/logout activities.
Each log line will always include the following information: timestamp, log type [AUDIT], action type, additional details specific for each action in TSV format.
The following action types are tracked:
Action type | Action message | Description |
LOGIN | LOGIN SUCCEEDED | The indicated user logged in successfully |
LOGIN | LOGOUT | The indicated user logged out successfully |
USER_CREATED | - | The indicated user has been created in the Subscription Hub |
USER_UPDATE | LICENSE_CHANGED | The license associated with the indicated user has been changed |
USER_UPDATE | ROLES_CHANGED | The roles associated with the indicated user for the available Board Platforms have been changed |
USER_DELETED | - | The indicated user has been deleted |
To request access to the Audit log files and for custom rolling policies, please open a support ticket through the Board Support Portal. Please be sure to include your Platform name (e.g. customer1-s1.board.com) in support tickets. The Board Cloud Operations team will then handle your request.
Audit log files are rolled at the end of each day or when they reach a file size of 1 Gb, whichever comes first. The rolling policy can be customized, if needed.
There is an additional log called "Diagnostic" which stores information about every single task that the Board engine performs, in addition to all the information that the logs explained above store. Board stores the information of this log in a single file in the following full path: ...\Dataset\Log\diagnosticYearAndMonthOfCreation.log (i.e. DataEntry_202306.log). If you want to customize or disable this log, raise a ticket through the Board Support site.
All log files are rolled at the end of each month.
Enabling or disabling the logs described above will have an immediate effect on the creation of the log files.
Encrypting log files
Board log files are not encrypted by default. There may be cases where the log files must be encrypted for various security reasons.
To enable the log encryption feature, activate the "ENCRYPTED LOG FILES" toggle, enter a preferred encryption password, and press "OK".
After enabling the encryption, Board will create newly encrypted log files for each enabled log and will add the prefix "Encrypted-N-" to all new log file names (for example, the new Capsule log file will now be named "Encrypted-1-Cpsx_202306.log"). The "N" in the name of the log file is a sequentially updated number that changes when you modify the encryption password or disable and re-enable encryption. This sequential update ensures that each encrypted file can be decrypted with its corresponding password, preventing mixed data within a single file encrypted with different passwords.
The encryption feature will encrypt all log files, not just the ones described above.
All log files created before the activation of the encryption will be maintained.
To decrypt an encrypted log file, you must use the dedicated tool available in the following path: ...\Board Server\Tools\BoardLogDecrypter.exe.
The decrypter tool can be launched through a batch file or the command line (cmd) by using the following syntax:
BoardLogDecrypter EncFile="FullPathOfEncyptedFile" DestFile="FullPathOfDecryptedFile" Password="EncryptionPassword"
Example:
BoardLogDecrypter EncFile="C:\Users\Username\Documents\Log\Encrypted-1-Cpsx_202306.log" DestFile="C:\Users\Username\Documents\Decrypted-1-Cpsx_202306.log" Password=Password)
All original encrypted log files will be maintained.
To disable the log encryption feature, deactivate the "ENCRYPTED LOG FILES" toggle, enter the encryption password defined during the activation of the encryption feature, and press "OK".