Logging
Warning
Swagger Contract Testing On-Premises 1.x.x is now deprecated and no longer supported as of March 11, 2026. This version no longer receives updates, including security updates. We recommend upgrading to a supported version 2.x as soon as possible.
Output
Swagger Contract Testing On-Premises application logs are sent to the standard output stream of the Docker container, with the expectation that the container orchestration service will collect and forward them to a log aggregation service.
Format
The default log format is JSON. This can be changed by setting the PACTFLOW_LOG_FORMAT environment variable.
Level
The default log level is INFO. This can be changed by setting the PACTFLOW_LOG_LEVEL environment variable.
In this section: