SSSD logs too many backtrace messages

This document (000020873) is provided subject to the disclaimer at the end of this document.


SUSE Linux Enterprise Server 15 SP4


In SLES15 SP4 SSSD logs includes many backtrace messages despite the low debug level set.


Backtrace log messages are debug messages generated because some fatal, critical or failures occurred in SSSD.
To avoid backtrace messages to be written in the logs it's better to find out the cause that triggers those messages and why some fatal, critical or failures occurred.  Disabling backtrace messages could also make difficult to SUSE Support to troubleshoot some SSSD related issues. 

If disabling backtrace log messages is required then it is possible to do so by setting the parameter...
 debug_backtrace_enabled = false
... in every section of /etc/sssd/sssd.conf.

For example: 

debug_backtrace_enabled = false

debug_backtrace_enabled = false

debug_backtrace_enabled = false

debug_backtrace_enabled = false

Finally, restart the sssd service:

systemctl daemon-reload
systemctl restart sssd.service


From version 2.5.0 SSSD logs also backtraces. The debug_backtrace_enabled parameter is now enabled by default.  This change was introduced to try to debug hard-to-reproduce issues because most of the times the default log level is set to low.

SSSD stores detailed debug logs in an buffer and adds them to log files when some failure occurs.  In the default configuration a backtrace is triggered when one of the following error levels occurs:

- Level 0: fatal failures      (0x0010)
- Level 1: critical failures   (0x0020)
- Level 2: serious failures    (0x0040)

When some Fatal, Critical or Serious failures happen, a backtrace is triggered and all the detailed logs are also added to the log files.

Additional Information

debug_backtrace_enabled (bool)

Enable debug backtrace.

In case SSSD is run with debug_level less than 9, everything is logged to a ring buffer in memory and flushed to a log file on any error up to and including `min(0x0040, debug_level)` (i.e. if debug_level is explicitly set to 0 or 1 then only those error levels will trigger backtrace, otherwise up to 2).

Feature is only supported for `logger == files` (i.e. setting doesn't have effect for other logger types).

Default: true
SSSD 2.5.0 Release Notes
[New features]
If debug_backtrace_enabled is set to true then on any error all prior debug messages (to some limit) are printed even if debug_level is set to low value (for details see man sssd.conf: debug_backtrace_enabled description).


This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020873
  • Creation Date: 23-Nov-2022
  • Modified Date:11-Jan-2023
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center