Skip to main content



Apply Rules Event

InRule.Runtime Info Level Logging - Apply Rules Event

Note: Some of the log detail items are optional and will not be present in every log entry.

Type: RuleSession.ApplyRules

NameDescription
TimeThe date and time of the event
SourceThe source of the event within InRule.Runtime (e.g. "RuleSession")
MessageThe type of the event (e.g. "RuleSession.ApplyRules")
FunctionCompileTimeElapsed time to generate and compile IL execution delegates invoked by the rule engine.
LoadEntityXMLTimeElapsed time to load entities from Xml. Note: Only logged when Xml is used to set the state of the rule application entities
RuleExecutionTimeElapsed time to run the rules. This includes any FunctionCompileTime, BoundStateRefreshTime, ExternalMethodCallTime and ExternalSqlQueryCallTime.
BoundStateRefreshTimeElapsed time to refresh state from bound object Note: Only logged when bound to a .NET assembly
ExternalMethodCallTimeElapsed time to execute User Defined Functions (UDFs) or external .NET function library methods. The number to the right of the elapsed time is the number of methods called.
ExternalSqlQueryCallTimeElapsed time to execute SQL queries against external data sources. The number to the right of the elapsed time indicates the number of queries executed.
RunningTotalAllTimeTotal elapsed time including compilation, entity creation and execution
SessionIdGUID representing a unique RuleSession
RuleApplicationName of the rule application, and associated revision number. A revision number of "-1" indicates a file based rule application where revision number is not applicable.
MaxRuleApplicationCacheDepthMaximum rule apps that will remain cached before rule apps are removed
CurrentRuleApplicationCacheDepthCurrent number of rule apps in the cache
CurrentDataQueryCacheDepthCurrent number of cached queries in the AppDomain
RuleApplicationCacheUptimeAmount of time since rule application cache was created
ProcessUptimeAmount of time InRule has been up in the current AppDomain
ThreadIdManaged identification numbers for the thread that wrote the log entry
ProcessIdIdentification number for the process hosting the rules engine
Installer VersionVersion of the installer used to install InRule
irSDK VersionVersion of the InRule SDK
HostAppDomainHeapMemoryMBCurrent heap memory usage for the application domain associated with the running instance of InRule Note: This value is intermittently logged