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

Liviu Chircu noreply at github.com
Wed Nov 13 08:59:16 EST 2019


  Branch: refs/heads/2.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 81a098344bd08497f32af843420ebd1e3dabeec2
      https://github.com/OpenSIPS/opensips/commit/81a098344bd08497f32af843420ebd1e3dabeec2
  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