Flowable 6.6.0 用户指南相关文档下载
- BPMN用户指南 第一部分 - 中文PDF精编版
- BPMN用户指南 第二部分 - 中文PDF精编版
- BPMN用户指南 第三部分 - 中文PDF精编版
- 应用程序指南 - 中文PDF精编版
- 应用程序指南 - 中英对照PDF精编版
- 应用程序指南 - Eclipse设计器中文PDF精编版
- 表单用户指南 - 中文PDF精编版
- 事件注册表用户指南 - 中文PDF精编版
《Flowable 6.6.0 BPMN用户指南》
2. 配置
- 2.1 创建ProcessEngine
- 2.2 ProcessEngineConfiguration Bean
- 2.3 数据库配置
- 2.4 JNDI数据源配置
- 2.5 支持的数据库
- 2.6 创建数据库表
- 2.7 数据库表名说明
- 2.8 数据库升级
- 2.9 作业执行器
- 2.10 作业执行器激活
- 2.11 邮件服务器配置
- 2.12 历史(History)配置
- 2.13 异步历史配置(Async history configuration)
- 2.14 在表达式和脚本中暴露bean
- 2.15 部署缓存配置
- 2.16 日志
- 2.17 映射诊断上下文
- 2.18 事件处理器(Event handlers)
有关Flowable文档的其他资料,参见:
2.17 映射诊断上下文(Mapped Diagnostic Contexts)
Flowable supports the Mapped Diagnostic Contexts feature of SLF4j. This basic information is passed to the underlying logger along with what is going to be logged:
- processDefinition Id as mdcProcessDefinitionID
- processInstance Id as mdcProcessInstanceID
- execution Id as mdcExecutionId
Flowable支持SLF4j的映射诊断上下文(Mapped Diagnostic Contexts)功能。下面的基本信息连同要记录的日志内容一起传递给了底层日志记录器(logger):
- processDefinition Id用作mdcProcessDefinitionID
- processInstance Id 用作mdcProcessInstanceID
- execution Id用作 mdcExecutionId
None of this information is logged by default. The logger can be configured to show them in your desired format, extra to the usual logged messages. For example in Log4j the following sample layout definition causes the logger to show the above mentioned information:
默认情况下,不会记录这些信息。除了通常记录的日志消息之外,日志记录器(logger)可以配置为以您所需的格式显示日志。例如,在Log4j中,以下样例布局定义会导致日志记录器显示上述信息:
log4j.appender.consoleAppender.layout.ConversionPattern=ProcessDefinitionId=%X{mdcProcessDefinitionID}
executionId=%X{mdcExecutionId} mdcProcessInstanceID=%X{mdcProcessInstanceID} mdcBusinessKey=%X{mdcBusinessKey} %m%n
This is useful when the logs contain information that needs to checked in real time, by means of a log analyzer, for example.
当日志包含了需要实时检查的信息时,例如采用日志分析器时,这很有用。