The Functional Trace is intended for functional developers, and it records execution and error information when code is being tested during the development phase.
<kColl id="settings"> <kColl id="trace"> … <field id="enableTechnicalTraces" value="false" description="Adapt traces to functional developer (if false) or technical developer (if true). Defaults to true if not present." /> … <kColl id="requestersComponents"> … <traceRequester id="#FUNC" trace="yes" functional="true"traceLevels="INFO" /> <!-- Functional data traces --> <traceRequester id="#FUNCDATA" trace="yes"functional="true" traceLevels="INFO" /> </kColl> </kColl> … </kColl>
Attribute | Description |
---|---|
trace | Indicates whether to generate the related trace. Default value is “yes”. |
functional | Indicates whether to throw exception dump to functional developer. The default value is “true”. |
traceLevel | Indicates the trace level. Possible values are “FATAL, ERROR, WARN, INFO, DEBUG”. The default value is “INFO”. |
2011-8-3 16:30:22 FunctionalTraceHel INFO: Processing page request - no application data 2011-8-3 16:30:23 FunctionalTraceHel INFO: => Starting flow 'tableScenario1Flow' at initial state 'initial' 2011-8-3 16:30:23 HtmlRequestHandler INFO: no error page specified 2011-8-3 16:30:23 FunctionalTraceHel INFO: Transition caused by event 'start', from state 'initial' to 'GetTableDataOp' in flow 'tableScenario1Flow' 2011-8-3 16:30:23 FunctionalTraceHel INFO: Entering state 'GetTableDataOp' in flow 'tableScenario1Flow' 2011-8-3 16:30:23 FunctionalTraceHel INFO: State 'GetTableDataOp' is an operation state, launching operation 'GetTableDataOp' 2011-8-3 16:30:23 FunctionalTraceHel INFO: => About to execute operation 'GetTableDataOp' 2011-8-3 16:30:23 FunctionalTraceHel INFO: <= Operation 'GetTableDataOp' executed 2011-8-3 16:30:23 FunctionalTraceHel INFO: => Begin output mapping from context 'tableCtx' to context 'tableCtx' 2011-8-3 16:30:23 FunctionalTraceHel INFO: Mapping from '*' to '*' 2011-8-3 16:30:23 FunctionalTraceHel INFO: <= End of mapping 2011-8-3 16:30:23 FunctionalTraceHel INFO: Transition caused by event 'ok', from state 'GetTableDataOp' to 'tablePagination01' in flow 'tableScenario1Flow' 2011-8-3 16:30:23 FunctionalTraceHel INFO: Entering state 'tablePagination01' in flow 'tableScenario1Flow' 2011-8-3 16:30:23 FunctionalTraceHel INFO: State 'tablePagination01' is a page state, showing page 'Pagination/tablePagination01' 2011-8-3 16:30:23 FunctionalTraceHel INFO: Rendering page 'Pagination/tablePagination01'