• debing.sun's avatar
    Hide user data from log (#13400) · 69b480cb
    debing.sun authored
    
    
    This PR is based on the commits from PR #11747.
    
    In the event of an assertion failure, hide command arguments from the
    operator.
    
    In some cases, private client information can be voluntarily exposed
    when a redis instance crashes due to an assertion failure.
    This commit prevent וnintentional client info exposure.
    Operators can still access the hidden data, but they must actively
    request it.
    Any of the client info commands remains the unchanged.
    
    ### Config
    Add a new config `hide-user-data-from-log` to turn this feature on and
    off, default off.
    
    ---------
    Co-authored-by: default avatarnaglera <anagler123@gmail.com>
    Co-authored-by: default avatarnaglera <58042354+naglera@users.noreply.github.com>
    69b480cb
redis.conf 106 KB