CaseFabric Reference Guide

CaseFabric Reference Guide

  • Overview
  • Getting Started
  • CMMN
  • CaseFabric IDE
  • CaseFabric Engine
  • Extensions
  • API Reference
  • Releases

›CaseFabric Engine

Overview

  • CaseFabric
  • A short introduction
  • Product Overview

Getting Started

  • Introducing CaseFabric Demo
  • Generic UI
  • How to use task UI rendering
  • Two business applications
  • Obtaining CaseFabric Demo

Some CMMN

  • What is CMMN
  • Modelling the Case Plan
  • Modelling the Case File
  • Modelling the Case Team
  • Other things to model

CaseFabric IDE

  • An IDE?
  • Designing
  • Tasks and Parameters
  • Expressions
  • Deploying
  • Debugging

CaseFabric Engine

  • The CaseFabric Engine
  • Authentication
  • Authorization
  • Pictorial overview
  • Configuration
  • Logging
  • Repository

Extensions

  • Do we need extensions?
  • Fault Handling
  • Workflow
  • Business Identifiers

API Reference

  • Introducing the API
  • Joining the platform
  • Start a Case
  • Case Team membership
  • Executing the case
  • Retrieving cases and tasks
  • Casefile requests

Releases

  • Overview
  • 1.1.34
  • 1.1.33
  • 1.1.32
  • 1.1.31
  • 1.1.30
  • 1.1.29
  • 1.1.28
  • 1.1.27
  • 1.1.26
  • 1.1.25
  • 1.1.24
  • 1.1.23
  • 1.1.22
  • 1.1.21
  • 1.1.20
  • 1.1.19
  • 1.1.18
  • 1.1.17
  • 1.1.16
  • 1.1.15
  • 1.1.14
  • 1.1.13
  • 1.1.12
  • 1.1.11
  • 1.1.10
  • 1.1.9
  • 1.1.8
  • 1.1.7
  • 1.1.6
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1.2
  • 1.1.1
  • 1.1.0

CaseFabric Logging

Introduction

CaseFabric has multiple logging configuration options. On the one hand they are developer oriented, on the other hand they are operational. For the operational logging CaseFabric uses standard Logback libraries. Developers can also use this logging, but since it can be somewhat overwhelming, the case engine also has support for case instance specific debugging.

Configuration of Logback

Inside the docker setup of the CaseFabric engine, there is a folder ./src/conf. This directory holds 2 files, local.conf and logback.xml.

This document will not describe the full options that are possible with Logback. But a couple of things are important to mention. Here is screenshot of the contents for ease of reference while reading this page.

Image

Appenders

First of all, the default logback contains two so-called appenders. These indicate where log messages should end up.

console

One appender is simple: directly to the console. This logging is visible when you run the docker-compose up. It holds a simple pattern that prints timestamp information in front of each message, along with the log level (ERROR, WARN, INFO, DEBUG, etc.).

Image

file

The other appender logs messages into the file system. There is actually a third appender, telling to log and write messages in an asynchronous manner in order to offload the main process of execution of the program.

The file logging is configured to start logging in a fresh file every day. And also to store the files not more than 10 days.

There are too many options to describe here. Please checkout the Logback community to learn more about it.

Image

One particular option must be mentioned, though. The file name is rooted in the logs directory. This directory by default resides outside of the docker container.

Loggers

Below the appenders, we find a couple of loggers. Loggers can be configured at very detailed depth. They indicate for which part of the code which type of messages are logged.

In the example above, it tells that at root level, i.e. across all code, only WARN and ERROR messages must be logged. The individual loggers of com.casefabric and org.flywaydb tell that their INFO messages must also be logged.

Please note that the root also tells which appenders to use.

Image

Changing the settings

The top element of the logback.xml contains a special attribute scan="true". This tells Logback to refresh the contents of the logback.xml file once every minute, and perform a live reload.

That means, you can change the contents of the logback.xml, and within a minute, the CaseFabric Engine will pick up your changes and act accordingly, without needing to restart the engine.

← ConfigurationRepository →
  • Introduction
  • Configuration of Logback
    • Appenders
    • Loggers
    • Changing the settings