[OpenSIPS-Devel] [OpenSIPS/opensips] a7f26e: xlog.c: add $xlog_level pseudovariable

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Oct 6 11:14:33 CEST 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: a7f26e6b34479a558e3b31707a34b0548b41d76a
      https://github.com/OpenSIPS/opensips/commit/a7f26e6b34479a558e3b31707a34b0548b41d76a
  Author: Cerghit Ionel <ionel.cerghit at gmail.com>
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
    M pvar.c
    M pvar.h
    M xlog.c
    M xlog.h

  Log Message:
  -----------
  xlog.c: add $xlog_level pseudovariable
using the $xlog_level pseudovariable in the xlog function will insert
in the message generated the log level, example:
xlog("$xlog_level some text\n") will generate the line
ERROR: some text


  Commit: 402ed25bf81828312523c0fb01a032648a14b107
      https://github.com/OpenSIPS/opensips/commit/402ed25bf81828312523c0fb01a032648a14b107
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
    M pvar.c
    M xlog.c

  Log Message:
  -----------
  Some tunnings related to the $xlog_level

Return a NULL value if outside an xlog() statement.
Avoid strlen() on static strings.


  Commit: 5069a54b2499f24a82c6dfca444606e12c3b812f
      https://github.com/OpenSIPS/opensips/commit/5069a54b2499f24a82c6dfca444606e12c3b812f
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-10-06 (Thu, 06 Oct 2016)

  Changed paths:
    M xlog.c

  Log Message:
  -----------
  Extended $xlog_level for xlog() and xdbg()


Compare: https://github.com/OpenSIPS/opensips/compare/28076b72944f...5069a54b2499


More information about the Devel mailing list