Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Hint: Logs written to stdout or stderr may also be viewed by docker command (if using another container runtime, please refer to its documentation):

  • Code Block
    docker container logs <container name or id>

Using this command with option -f allows to watch log file tail continuously.

Custom configuration

The log level can be configured for the complete product (parameter logging.level.root), or for a special module only (parameter logging.level.<package>).

...

Info

The logging framework included in tia® Content Server Core is SLFJ4-compliant. For documentation refer to the https://www.slf4j.org/manual.html. Since tia® Content Server Core Release 3.0.0 this is Logback framework (see https://logback.qos.ch/).

tia® Content Server Core parameters for logging:

Parameter

Description

Supported Values

Required

Default value

logging.level.root

Log Level for all logging.

If log level for package is configured, package configuration will overrule.

Recommended for Production is WARN or ERROR.

OFF

ERROR

WARN

INFO

DEBUG

no

DEBUG

logging.level.<package>

Example:

logging.level.com.software.kgs

Definition of the log level for the package.

 

OFF

ERROR

WARN

INFO

DEBUG

no

 

logging.config

Specifies a location for the configuration file of the logging framework.

Info

Hint: When using container-deployment volume mapping maybe required.

Path and filename

no

logback-spring.xml

...