Show Table of Contents
6.2. Enabling Debug Logging
This section describes how to enable debug logging to provide detailed debugging information for Satellite 6.2. Debug logging provides the most detailed log information and can help with troubleshooting issues that can arise with Satellite 6.2 and its components. It is also possible to enable or disable individual loggers for selective logging.
To enable debug logging, modify the
/etc/foreman/settings.yaml file.
Set the Logging Level to "debug"
By default, the logging level is set toinfo, as in the following::logging: :level: info
Alter these lines so that they look like this::logging: :level: debug
Warning
Until BZ#1325939 is resolved, setting the sql logging level toerroris not recommended.Select Individual Logging Types
By default, the end of/etc/foreman/settings.yamllooks like this:# Individual logging types can be toggled on/off here :loggers:
Alter the/etc/foreman/settings.yamlfile so that it looks like this::loggers: :ldap: :enabled: true :permissions: :enabled: true :sql: :enabled: trueRestart Katello Services
#katello-service restart
Complete List of Loggers with their Default Values
:app:
:enabled: true
:ldap:
:enabled: false
:permissions:
:enabled: false
:sql:
:enabled: false

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.