Camel K Operator Logging
The operator provides structured logging, so that the logs are more easily parsable.
This includes the output of components managed by the operator, such as the Maven build, and the Integration container image build.
For example, the Maven build logs display like this:
{"level":"info","ts":1620393185.321101,"logger":"camel-k.maven.build","msg":"Downloading from repository-000: http://my.repository.com:8081/artifactory/fuse-brno/org/jboss/shrinkwrap/resolver/shrinkwrap-resolver-bom/2.2.4/shrinkwrap-resolver-bom-2.2.4.pom"}
This may differ when running the operator locally, for development purposes, in which case the local Maven installation that is used may provide a different output.
Logging Level
The operator log level is controlled by an environment setting (LOG_LEVEL
) on the operator deployment. You can set the log level during installation procedure (see details in installation section). The default level is info
.
In general log levels are represented by numeric verbosity levels where 0
is the standard info log level and 1
is debug level. All values 2-10
represent different trace levels. You can set numeric values or one of the preset values info
, debug
, error
.