Default configuration
The tia® Content Server Core’s default logging targets are:
container-deployment:
Standard out
war-deployment:
core-of-tia.log
file in<web application server>/WEB-INF/<web context>/logs
directory.
...
Info |
---|
This article focuses on container-deployment of tia® Core products. |
By default, tia® Core logs to Standard out
.
There it may be read by monitoring observability tools.
Info | ||
---|---|---|
Hint: Logs written to
Using this command with option |
Using war-deployment, log rotation is activated by default:
tia® Content Server core writes the log file
core-of-tia.log
into the logs sub directory of the web context directory.At 0:00am and in case the log file exceeds 1GB, it is gz-compressed and renamed to
core-of-tia-<n>.log.gz
.Up to 10 compressed log files will be kept before removal.
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. So for the syntax and options For documentation refer to the https://www.slf4j.org/manual.html. Since tia® Content Server Core usesRelease 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 | ||
| Log Level for all logging. If log level for package is configured, package configuration will overrule. Recommended for Production is WARN or ERROR. |
| no |
| ||
Example:
| Definition of the log level for the package.
|
| no |
| ||
| Specifies a location for the configuration file of the logging framework.
| Path and filename | no |
|
...