How to analyse Bold BI application logs in Log Viewer
When encountering an error in Bold BI Embedded Analytics Server, we can interpret the application logs to understand the basic information about the error. This article will guide you through the process of interpreting Bold BI Embedded Analytics Server logs using Log Viewer software, such as Log4View. Refer the link for more details about Log4View.
Downloading Bold BI Application Logs
To download the Bold BI Embedded Analytics Server logs, refer to the link. To analyze the downloaded Bold BI application logs in Log4View, follow these steps:
Extract the downloaded log files. Within the log files, you can view the logs for each Bold BI services(idp-web, idp-api, bi-web, bi-api, bi-jobs, bi-designer and ums-web logs).
Within each service folder, there are info and error text files available.
Open Log4View application and click “Open” to load the log files.
Browse to the location of the Bold BI downloaded log files and select error text file or debug-info text files.
For each Bold BI service, different layout patterns are used which is provided in the bottom. Provide the corresponding layout pattern in the log viewer Layout Pattern text box based on the service and click OK.
The Bold BI application logs will now be displayed in the Log Viewer.
Enable the Message Details checkbox under Display Settings to view the message details with more information.
To view additional log information such as BaseUrl, MethodName, and Thread, add the corresponding property in the Message Details Layout.
Layout Patterns for each Bold BI services
For each service, the Bold BI application maintains Log4Net patterns in the respective service logs folder. For example, the Log4Net layout pattern for both debug info and error text files for the BI web service is available in the location {Deployed_Location}\bi\web\logs\Log4Net.config
.
By default, the Bold BI is deployed in “C:\BoldServices” for Windows and “/var/www/bold-services/application” for Linux.
Service name | Error Text Layout Pattern | Debug info Text Layout Pattern |
---|---|---|
| %date [%thread] %-5level %property{BaseUrl} %property{MethodName} %message%newline | %date [%thread] %property{BaseUrl} %property{MethodName} %message%newline |
| %date [%thread] %-5level %message%newline | %date [%thread] %message%newline |
| %date [%thread] %message%newline | %date [%thread] %message%newline |