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.

Info

Recommended in cloud-environments is logging in JSON format, available with tia® Core Content server 3.4.0. To configure JSON logging, set login.config parameter to value /application/config/json-logback.xml .

Using war-deployment, log rotation is activated by default:

...

Info

Note:For the configuration file itself applies the syntax of the logging framework, which is SLFJ4-compliant (external link: https://www.slf4j.org/manual.html).

Info

Recommended in cloud-environments is logging in JSON format, available with tia® Core Content server 3.4.0. To configure JSON logging, set login.config parameter to value /application/config/json-logback.xml .

Log rotation

In production systems, log files can grow large over time and consume disc space as well. Also handling of large log files for issue analysis is getting more difficult. Log rotation refers to an automatic set up to periodically or on trigger event (like log file exceeds a specified size) copy log files aside and keep only a certain number of copies.

...