이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Appendix B. Increasing logging levels of Satellite components


You can set logging levels for individual Satellite components. The default logging level is info. You can increase the logging level of Satellite components to troubleshoot Satellite. Increasing the logging level to debug provides the most detailed information.

B.1. Increasing the logging level for Foreman

By default, you can find the log in /var/log/foreman/production.log. For more information, see Section A.2, “Configuring logging type and layout”.

Note

For more information about Satellite logging settings, use satellite-installer with the --full-help option:

# satellite-installer --full-help | grep logging
Copy to Clipboard Toggle word wrap

Procedure

  1. Set the logging level to debug:

    # satellite-installer --foreman-logging-level debug
    Copy to Clipboard Toggle word wrap
  2. After you complete debugging, reset the logging level to the default value:

    # satellite-installer --reset-foreman-logging-level
    Copy to Clipboard Toggle word wrap

B.2. Increasing the logging level for Hammer

You can find the log in ~/.hammer/log/hammer.log.

Procedure

  • In /etc/hammer/cli_config.yml, set the :log_level: option to debug:

    :log_level: 'debug'
    Copy to Clipboard Toggle word wrap

B.3. Increasing the logging level for Capsule

By default, you can find the log in /var/log/foreman-proxy/proxy.log. For more information, see Section A.2, “Configuring logging type and layout”.

Procedure

  1. Set the logging level to debug:

    # satellite-installer --foreman-proxy-log-level DEBUG
    Copy to Clipboard Toggle word wrap
  2. After you complete debugging, reset the logging level to the default value:

    # satellite-installer --reset-foreman-proxy-log-level
    Copy to Clipboard Toggle word wrap

B.4. Increasing the logging level for Candlepin

You can find the logs in /var/log/candlepin/candlepin.log and /var/log/candlepin/error.log.

Procedure

  1. Set the logging level to DEBUG:

    # satellite-installer --katello-candlepin-loggers log4j.logger.org.candlepin:DEBUG
    Copy to Clipboard Toggle word wrap

    If the candlepin log files are too verbose, you can decrease the default debug level:

    # satellite-installer \
    --katello-candlepin-loggers log4j.logger.org.candlepin:DEBUG \
    --katello-candlepin-loggers log4j.logger.org.candlepin.resource.ConsumerResource:WARN \
    --katello-candlepin-loggers log4j.logger.org.candlepin.resource.HypervisorResource:WARN
    Copy to Clipboard Toggle word wrap
  2. After you complete debugging, reset the logging level to the default value:

    # satellite-installer --reset-katello-candlepin-loggers
    Copy to Clipboard Toggle word wrap

B.5. Increasing the logging level for Redis

You can find the log for Redis in /var/log/redis/redis.log.

Procedure

  1. In /etc/redis/redis.conf, set the logging level to debug:

    loglevel debug
    Copy to Clipboard Toggle word wrap
  2. Restart the Redis service:

    # systemctl restart redis
    Copy to Clipboard Toggle word wrap
    Note

    Running satellite-installer will revert the setting to default.

B.6. Increasing the logging level for satellite-installer

satellite-installer writes logs to /var/log/foreman-installer/.

Procedure

  • Increase the logging level of the satellite-installer utility:

    # satellite-installer --verbose-log-level debug
    Copy to Clipboard Toggle word wrap

    Note that this only affects standard output but not any log files written to disk.

B.7. Increasing the logging level for Pulp

Pulp logs to the systemd journal. You can view the logs using journalctl --unit 'pulpcore*'.

Procedure

  1. In /etc/pulp/settings.py, set the logging level to DEBUG:

    LOGGING = {"dynaconf_merge": True, "loggers": {'': {'handlers': ['console'], 'level': 'DEBUG'}}}
    Copy to Clipboard Toggle word wrap
  2. Restart the Pulp services:

    # systemctl restart \
    pulpcore-api \
    pulpcore-content \
    pulpcore-resource-manager \
    pulpcore-worker@\*
    Copy to Clipboard Toggle word wrap
    Note

    Running satellite-installer will revert the setting to default.

B.8. Increasing the logging level for Puppet agent

You can find the logs in /var/log/puppetlabs/puppet/.

Prerequisites

Procedure

  • Set the logging level to debug:

    # satellite-installer --puppet-agent-additional-settings log_level:debug
    Copy to Clipboard Toggle word wrap

B.9. Increasing the logging level for Puppet server

You can find the logs in /var/log/puppetlabs/puppetserver/.

Prerequisites

Procedure

  • Set the logging level to debug:

    # satellite-installer --puppet-server-additional-settings log_level:debug
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동