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

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


  Branch: refs/heads/3.4
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 55835b7750497220df2c4df04bbca4f00e3db977
      https://github.com/OpenSIPS/opensips/commit/55835b7750497220df2c4df04bbca4f00e3db977
  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.

(cherry picked from commit a4bf0442640ba4ef52035de0908166f55182afe8)


  Commit: 9e0acc3d576a417247243d2eaca16cb4235b35a3
      https://github.com/OpenSIPS/opensips/commit/9e0acc3d576a417247243d2eaca16cb4235b35a3
  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

(cherry picked from commit e18662aa96aceb0cb304e5153e57a70914a8b6f2)


  Commit: 59d4ff6008dc1cdd108df31d55538583f3be706e
      https://github.com/OpenSIPS/opensips/commit/59d4ff6008dc1cdd108df31d55538583f3be706e
  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

(cherry picked from commit d148232fe2f1b4d7222c091c345702391aecfebf)


Compare: https://github.com/OpenSIPS/opensips/compare/e23be5d19a48...59d4ff6008dc



More information about the Devel mailing list