You can increase the logging levels for {insights-iop} to DEBUG to get more detailed logs.
You can find the logs in /var/log/messages.
Example 1. Log entries of {insights-iop}
// TODO: Examples with default log levels
The default logging levels for {insights-iop} are as follows:
logging:
version: 1
disable_existing_loggers: false
loggers:
insights.core.dr:
level: "ERROR"
insights_messaging:
level: "INFO"
insights_kafka_service:
level: "INFO"
"":
level: "INFO"
Prerequisites
-
You have installed {insights-iop} on your {ProjectServer}. For more information, see {InstallingServerDisconnectedDocURL}installing-and-configuring-{insights-iop-id}[Installing and configuring {insights-iop}] in {InstallingServerDisconnectedDocTitle}.
Procedure
-
Increase the logging levels to
DEBUG:# {foreman-installer} -l info \ --iop-core-engine-log-level-insights-core-dr DEBUG \ --iop-core-engine-log-level-insights-kafka-service DEBUG \ --iop-core-engine-log-level-insights-messaging DEBUG \ --iop-core-engine-log-level-root DEBUG
Verification
-
Check the logging levels of {insights-iop}:
# podman exec iop-core-engine cat /var/config.yml | grep -A15 "logging:"
The logging levels are set to
DEBUG.