fix(logging): fix stack overflow on recording restricted keys (#4423)
Files to modify:


**health.rs**
  Modify existing code

**formatter.rs**
  Modify existing code

**storage.rs**
  Add:
    - function: pub::record_value