[OpenSIPS-Devel] [OpenSIPS/opensips] a4bf04: logging: improve E_CORE_LOG suppression mechanism

Vlad Pătrașcu noreply at github.com
Tue Jun 6 10:37:09 UTC 2023


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a4bf0442640ba4ef52035de0908166f55182afe8
      https://github.com/OpenSIPS/opensips/commit/a4bf0442640ba4ef52035de0908166f55182afe8
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M dprint.c
    M dprint.h
    M ipc.c
    M modules/event_kafka/kafka_producer.c
    M modules/event_rabbitmq/rabbitmq_send.c
    M modules/event_route/route_send.c
    M modules/event_stream/stream_send.c
    M modules/event_xmlrpc/xmlrpc_send.c
    M pt.h

  Log Message:
  -----------
  logging: improve E_CORE_LOG suppression mechanism

Do not stop all logs, to any logging consumer, from being printed when
handling the E_CORE_LOG event in the event consumers. Only suppress the
triggering of the event itself.

This also fixes the blocking of OpenSIPS when xlog() is used from the
event_route.


  Commit: e18662aa96aceb0cb304e5153e57a70914a8b6f2
      https://github.com/OpenSIPS/opensips/commit/e18662aa96aceb0cb304e5153e57a70914a8b6f2
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M dprint.c
    M dprint.h

  Log Message:
  -----------
  logging: print log level in xlog() messages


  Commit: d148232fe2f1b4d7222c091c345702391aecfebf
      https://github.com/OpenSIPS/opensips/commit/d148232fe2f1b4d7222c091c345702391aecfebf
  Author: Vlad Patrascu <vladp at opensips.org>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M dprint.c

  Log Message:
  -----------
  logging: fix print buffers length check for JSON CEE format


Compare: https://github.com/OpenSIPS/opensips/compare/91e40b58cdf1...d148232fe2f1



More information about the Devel mailing list