Chapter 11. Logging and Reporting Problems
This chapter provides information on how to log and report problems in Red Hat Satellite Server, including information on relevant log files, how to enable debug logging, how to open a support case and attach the relevant log tar files, and how to access support cases within the Satellite web UI.
11.1. Logging and Reporting
Red Hat Satellite provides system information in the form of notifications and log files.
Table 11.1. Log Files for Reporting and Troubleshooting
| Log File | Description of Log File Content |
|---|---|
|
| Subscription management |
|
| Foreman |
|
| Foreman proxy |
|
| Apache HTTP server |
|
| Satellite installer |
|
| Capsule Server installer |
|
| Virtualization API |
|
| Satellite database |
|
|
Celerybeat and Celery startup request messages. After startup is complete, messages are logged to |
|
| Configuration management |
|
| Subscription management |
|
| Apache web server messages for Red Hat Enterprise Linux 6 and Red Hat Enterprise Linux 7, respectively. |
|
| Various other log messages related to pulp, rhsm, and goferd. |
You can also use the foreman-tail command to follow many of the log files related to Satellite. You can run foreman-tail -l to list the processes and services that it follows.
On Red Hat Enterprise Linux 7, you can use the journal for more extensive logging information. See Using the Journal[1] for more information.
11.2. Enabling Debug Logging
This section describes how to enable debug logging to provide detailed debugging information for Satellite 6.4. Debug logging provides the most detailed log information and can help with troubleshooting issues that can arise with Satellite 6.4 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 to
info, as in the following::logging: :level: info
Alter these lines so that they look like this:
:logging: :level: debug
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 Satellite services:
# foreman-maintain service restart
Complete List of Loggers with their Default Values
:app:
:enabled: true
:ldap:
:enabled: false
:permissions:
:enabled: false
:sql:
:enabled: false11.3. Collecting Information from Log Files
There are two utilies available to collect information from log files.
Table 11.2. Log Collecting Utilities
| Command | Description |
|---|---|
|
|
The
Additionally, the
For more information, run There is no timeout when running this command. |
|
|
The
By default, the output tar file is located at
The |
Both foreman-debug and sosreport remove security information such as passwords, tokens, and keys while collecting information. However, the tar files can still contain sensitive information about the Red Hat Satellite Server. Red Hat recommends that you send this information directly to the intended recipient and not to a public target.
11.4. Using Log Files in Support Cases
You can use the log files and other information described in this chapter to do your own troubleshooting, or you can capture these and many more files, as well as diagnostic and configuration information, to send to Red Hat Support if you need further assistance.
There are two methods to open a support case with Red Hat Support. You can open a support case directly from the Satellite web UI or from the Customer Portal.
- Section 11.5.5, “Creating Support Cases Using the Red Hat Access Plug-in”: How to open a support case from the Satellite web UI
- https://access.redhat.com/articles/38363: How to open and manage a support case on the Customer Portal
11.5. Accessing Customer Portal Services from Red Hat Satellite
The Red Hat Access pre-installed plug-in lets you access several Red Hat Customer Portal services from within the Satellite web UI.
The Red Hat Access plug-in provides the following services:
- Search: Search solutions in the Customer Portal from within the Satellite web UI.
- Logs: Send specific parts (snippets) of the log files to assist in problem solving. Send these log snippets to the Red Hat Customer Portal diagnostic tool chain.
- Support: Access your open support cases, modify an open support case and open a new support case from within the Satellite web UI.
To access Red Hat Customer Portal resources, you must log in with your Red Hat Customer Portal user identification and password.
11.5.1. Searching for Solutions in the Red Hat Access Plug-in
The Red Hat Access plug-in provides search capabilities that look through the solutions database available in the Red Hat Customer Portal.
To Search for Solutions from the Red Hat Satellite Server:
- In the upper right, click Red Hat Access > Search.
If necessary, log in to the Red Hat Customer Portal. In the main panel on the upper right, click Log In.
NoteTo access Red Hat Customer Portal resources, you must log in with your Red Hat Customer Portal user identification and password.
- In the Red Hat Search field, enter your search query. Search results display in the left-hand Recommendations list.
- In the Recommendations list, click a solution. The solution article displays in the main panel.
11.5.2. Using Logs in the Red Hat Access Plug-in
The log file viewer lets you view the log files and isolate log snippets. You can also send the log snippets through the Customer Portal diagnostic tool chain to assist with problem solving.
To Use the Logs Diagnostic Tool from the Red Hat Satellite Server:
- In the upper right, click Red Hat Access > Logs.
If necessary, log in to the Red Hat Customer Portal. In the main panel on the upper right, click Log In.
NoteTo access Red Hat Customer Portal resources, you must log in with your Red Hat Customer Portal user identification and password.
- In the left file tree, select a log file and click the file name.
- Click Select File. A pop-up window displays the log file contents.
- In the log file, highlight any text sections you want diagnosed. The Red Hat Diagnose button displays.
- Click Red Hat Diagnose. The system sends the highlighted information to the Red Hat Customer Portal, and provides solutions that closely match the provided log information.
If a solution does the following:
- Matches the problem, click the solution and follow the required steps to troubleshoot the issue.
- Does not match the problem, click Open a New Support Case. The support case is populated with the highlighted text from the log file. See Section 11.5.5, “Creating Support Cases Using the Red Hat Access Plug-in”.
11.5.3. Viewing Existing Support Cases Using the Red Hat Access Plug-in
You can view your existing support case from your Red Hat Satellite Server using the Red Hat Access Plug-in.
To View Existing Support Cases from the Red Hat Satellite Server:
- In the upper right, click Red Hat Access > Support > My Cases.
If necessary, log in to the Red Hat Customer Portal. In the main panel on the upper right, click Log In.
NoteTo access Red Hat Customer Portal resources, you must log in with your Red Hat Customer Portal user identification and password.
To search for a specific support case from existing cases, do any of the following:
- In the Search field, provide a key word or phrase.
- From the drop-down list, choose a specific Case Group. Your organization has defined Case Groups inside the Red Hat Customer Portal.
- Choose a Case Status.
- From the results, choose a specific support case and click the Case ID. The support case is ready to view.
11.5.4. Modifying Support Cases Using the Red Hat Access Plug-in
You can update your existing support cases from your Red Hat Satellite Server using the Red Hat Access Plug-in.
To Update Support Cases from the Red Hat Satellite Server Web UI:
- Complete the instructions from Section 11.5.3, “Viewing Existing Support Cases Using the Red Hat Access Plug-in”
In the support case, scroll down to the marked sections to do the following:
Attachments: - Attach a local file from the system. Add a file name to make it easier to identify.
NoteFile names must be less than 80 characters and the maximum file size for attachments uploaded using the web UI is 250 MB. Use FTP for larger files.
- Case Discussion: - Add any updated information about the case you wish to discuss with Global Support Services. After adding information, click Add Comment.
11.5.5. Creating Support Cases Using the Red Hat Access Plug-in
You can create a new support case from your Red Hat Satellite Server using the Red Hat Access Plug-in.
To Create a New Support Case Using the Red Hat Satellite Server:
- In the upper right, click Red Hat Access > Support > New Case.
If necessary, log in to the Red Hat Customer Portal. In the main panel on the upper right, click Log In.
NoteTo access Red Hat Customer Portal resources, you must log in with your Red Hat Customer Portal user identification and password.
The Product and Product Version fields are automatically populated. Complete the other relevant fields, as follows:
- Summary — Provide a brief summary of the issue.
Description — Write a detailed description of the issue.
Based on the summary provided, recommendations for possible solutions display in the main panel.
- Click Next.
Choose the appropriate options, as follows:
- Severity — Select the ticket urgency as 4 (low), 3 (normal), 2 (high), or 1 (urgent).
- Case Group — Based on who needs to be notified, create case groups associated with the support case. Select Case Groups in Red Hat Satellite. Create Case Groups within the Customer Portal.
Attach the output of
sosreportand any required files. Add a file description and click Attach.Note-
If you have large log files or many Satellite tasks, it is recommended to also attach the output of
foreman-debug. - File names must be less than 80 characters and the maximum file size for attachments uploaded using the web UI is 250 MB. Use FTP for larger files.
-
If you have large log files or many Satellite tasks, it is recommended to also attach the output of
- Click Submit. The system uploads the case to the Customer Portal, and provides a case number for your reference.
The Red Hat Knowledgebase article https://access.redhat.com/articles/445443: Red Hat Access: Red Hat Support Tool has additional information, examples, and video tutorials.

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.