Definition
Information
Section titled “Information”This table captures information about all events generated by the Insights client, in order for us to monitor performance & troubleshoot issues when required. Different logging levels we use are:
| Level | Numeric value | What it means / When to use it |
|---|---|---|
| logging.DEBUG | 10 | Detailed information, typically only of interest to a developer trying to diagnose a problem. |
| logging.INFO | 20 | Confirmation that things are working as expected. |
| logging.WARNING | 30 | An indication that something unexpected happened, or that a problem might occur in the near future (e.g. ‘disk space low’). The software is still working as expected. |
| logging.ERROR | 40 | Due to a more serious problem, the software has not been able to perform some function. |
It is advised to check this table if you encounter any issues with the Explorer Insights Client Package
Scenarios
Section titled “Scenarios”| Scenario Encountered | Info in the logging tables |
|---|---|
| The log messages on the command line prompt were not showing completely or you closed the command line prompt window by mistake while the ETL was running | The log messages stored in this table for a particular date time will provide information on the step the ETL is at |
Examples
Section titled “Examples”Count log records by level
Section titled “Count log records by level”SELECT log_level, COUNT(*) AS log_countFROM internal.application_logsGROUP BY log_levelORDER BY log_count DESC;Review recent log events
Section titled “Review recent log events”SELECT received_datetime, log_level, component, log_messageFROM internal.application_logsORDER BY received_datetime DESC;