[OpenSIPS-Devel] [OpenSIPS/opensips] beb72c: struct hist API: Add rotating log list support

Liviu Chircu noreply at github.com
Wed Nov 13 08:58:22 EST 2019

  Branch: refs/heads/3.0
  Home:   https://github.com/OpenSIPS/opensips
  Commit: beb72cb211c7ff46750f099b27bcdee5f66a87f7
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2019-11-13 (Wed, 13 Nov 2019)

  Changed paths:
    M lib/dbg/struct_hist.c
    M lib/dbg/struct_hist.h

  Log Message:
  struct hist API:  Add rotating log list support

The struct hist debugging support now also offers rotating logging lists
with capped sizes.  Whenever the "flush" condition occurs, the new
sh_list_flush() function can be invoked in order to dump the currently
held logs to disk.

Inspired by #1580

(cherry picked from commit 1fa98a977d532931d3834b52e47d4598e9fab2ad)

More information about the Devel mailing list