Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| docs:2000_concepts:0800_data_processing:0300_execution_log [2022/08/21 12:09] – removed - external edit (Unknown date) 127.0.0.1 | docs:2000_concepts:0800_data_processing:0300_execution_log [2025/06/12 03:58] (current) – Change to AwareIM aware_support3 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | [< | ||
| + | ====== Execution Log ====== | ||
| + | |||
| + | |||
| + | The results of rule evaluation and action execution are written into the //execution log//. This log can be very useful when checking whether business rules behave as expected (especially when testing new configuration – see [[docs: | ||
| + | |||
| + | The log record consists of the record timestamp, the name of the business space in which the user that has issued the request operates and the name of the user. For example, | ||
| + | |||
| + | < | ||
| + | |||
| + | Here the name of the business space is “AIS” and the name of the user is “admin”. | ||
| + | |||
| + | The execution log supports different levels of logging: | ||
| + | |||
| + | ===== Rules only===== | ||
| + | |||
| + | This is the default level – only evaluation/ | ||
| + | |||
| + | ===== All server events except timer and SQL events ===== | ||
| + | |||
| + | At this level the log contains records of all requests that the server receives. It also has results of rule evaluation/ | ||
| + | |||
| + | ===== All server events excluding SQL ===== | ||
| + | This is the same as the previous level. Evaluation/ | ||
| + | |||
| + | ===== All server events including SQL===== | ||
| + | |||
| + | This is the most verbose level. This is the same as the previous level, but the rule log also includes records of all SQL commands that // | ||
| + | |||
| + | The levels may be set up using the [[glossary: | ||
| + | |||
| + | When you run the Settings/ | ||
| + | |||
| + | ====== Log Viewer ====== | ||
| + | |||
| + | The execution log may be viewed using the [[glossary: | ||
| + | |||
| + | - View/ | ||
| + | - View/ | ||
| + | - File/Open Log File – opens the specified log file | ||
| + | // | ||
| + | |||
| + | {{ docs: | ||
| + | |||
| + | The picture shows execution of the DeleteTopic process – the corresponding nodes are expanded to show all details of the log. Note also that the Log Viewer shows different types of log records with different icons and colors. Using the Log Viewer one can quickly browse through the log and delve into the details of a particular request only when necessary. | ||
| + | |||
| + | ===== Setting Logging Options ===== | ||
| + | |||
| + | You can specify what each log record will contain by choosing the View/Log View Options menu item. This menu item opens a dialog where you can specify whether each record will contain timestamp, business space name and user name.You can also filter the log and display only records that belong to the specified user in the specified business space or to all users in the specified business space. | ||
| + | |||
| + | ===== Traversing the log ===== | ||
| + | |||
| + | It’s often useful to quickly traverse the log by only going through certain records, skipping records that you are not interested in. To do this you need to specify which records will be filtered out during traversal. This is done by selecting the Edit/Find Log Record menu item. In this menu command you specify your filtering criteria and then you traverse the log by pressing the F3 button. Each time you press this button the system will display the next log record that meets your search criteria. | ||
| + | |||
| + | The Edit/Find Log Record menu item opens a dialog where you can set the following options: | ||
| + | |||
| + | ===== By text of the log message ===== | ||
| + | |||
| + | Only log records containing the specified text will be traversed. | ||
| + | |||
| + | ===== By business space name ===== | ||
| + | |||
| + | Only log records that belong to the specified business space (and optionally to the specified user in this business space) will be traversed. | ||
| + | |||
| + | ===== By message type ===== | ||
| + | |||
| + | The following record types are supported: | ||
| + | |||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | - '' | ||
| + | |||
| + | ===== By reply to process ===== | ||
| + | |||
| + | Only log records that are involved in the execution of the specified process are traversed | ||
| + | |||
| + | ===== By time difference with previous ===== | ||
| + | |||
| + | Only log records that have timestamp that is different from the timestamp of the previous records by the specified amount or more are traversed. This can be very useful when identifying performance bottlenecks in the system. For example, if you specify 30 seconds than you will immediately go to log records that show operation where execution time was 30 seconds or more. | ||
| + | |||
| + | |||