URL:
https://github.com/SSSD/sssd/pull/5585
Author: alexey-tikhonov
Title: #5585: Poor man's backtrace.
Action: opened
PR body:
"""
In case SSSD is run with debug_level < 9, log everything
to a ring buffer in memory and flush the buffer 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`.
Feature is configurable via 'debug_backtrace_enabled' option.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/5585/head:pr5585
git checkout pr5585