Entity Log Tabs
Entity Log Tabs Overview
The tabs can be used to further filter down to a particular entity (webpart, process, workflow). If you only want to see the logs generated from a particular entity, you could stay on the Application tab and use the Log Object Filters to narrow your search by Type and then even further with the other filters available.
Alternatively, you could use the Tabs at the top left. Using the screens available in these tabs, you could also view and change the entity log level, which is not available in the Application tab.
Here is the screen within an entity tab broken down into its sections:
- Entity Search
- Entity Logs
- Log Data
- Log Tools
- Log Level Sliders
Depending on which tab you are in, entity can refer to a Process, WebPart, or Workflow. This search allows you to view the entire list of all the processes, webparts, or workflows. You are able to type in the textbox to search for a particular one. The text box searches on the Id, Name and Description.
The list section below also displays the basic information for the entity: Id, Name, and Description. The List Section can be sorted by any of these columns by clicking on the header.
Clicking on a single entity, affects other areas of the Entity Logs Tab screen
When the Entity Log Tab is selected, this area is empty. After selecting an Entity in the Entity Search area, logs are shown here for the selected value. The list section area displays all the same information as the Application Logs screen and in the same order (newest on top). The difference is the area underneath the list sections which neatly displays all the information for the selected log.
If we expand the list section area, we can see that it displays the same information, but due to space constraints, it requires a scrollbar to view all this information for every log entry in the list section.
Selecting a log in the Entity Logs area affects this area below the list section as well as other areas of the Entity Log Tab screen like the Log Data section.
The log data area displays the same as the Application Logs screen.
Processes display WorkData which contains the logs for all services that ran and in order with oldest on top. The left section is displayed in a tree view which can be expanded. Once a node is selected, its XML is displayed on the right. If you notice in the example above, the left and right are displaying from the same log xml, but it is just presented in a tree view on the left.
WebParts display the associated processes which contains the WorkData and, within that, all the logs for all services that ran and in order with oldest on top. The left section is displayed in a tree view which can be expanded. Once a node is selected, its XML is displayed on the right. If you notice in the example above, the left and right are displaying from the same log xml, but it is just presented in a tree view on the left.
The “Entity Log Tab” Screen “Log Tools” are very similar to the Application Logs Tools.
Refresh (F5) - The list of logs displayed may become old. The list is first loaded when you open the Application Logs screen. Remaining on this screen without refreshing it will not load any new logs. F5 can also be used to refresh.
Purge - This clears the accumulated logs. The logs are stored in the database in the EP_Logs table. This will perform a SQL delete on the table. If the logs are opened for a single webpart or process, pressing “Purge” will prompt you choose a selection between “Entire Application Logs’ or “Only Current WebPart/Process Logs”. If you are in the Application Logs, you will still be warned if you are sure you want to purge all logs.
More - If there are very many logs, the screen may only show a subset of them. More allows you to load more into the list.
Up/Down - If you have a single log record selected, you can click “Up” or “Down” to scroll up or down in the list. The up and down arrow keys will also accomplish this.
Log Level Sliders
Within the “Entity Log Tab” screen, the “Log Level Slider” section has two sliders.
The first is the Application Log Level, which is the same as the one on the Application Logs screen. Moving the slider from this screen will have the same immediate effect on the Application level logs as it would elsewhere.
The second is the Entity Log Level. This refers to the selected Entity. If an entity is not selected, this will be in the off position, but it is not in reference to any entity. This is an easy way to change the log level for a particular process (or another entity like WebPart or Workflow) without having to open the process up in Design mode.