[OpenSIPS-Devel] [OpenSIPS/opensips] 7eced1: Removed the "dont_fork" feature

Bogdan-Andrei Iancu bogdan at opensips.org
Mon Feb 8 12:58:23 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7eced16393c23120bc14369cb8a67bd5199a28af
      https://github.com/OpenSIPS/opensips/commit/7eced16393c23120bc14369cb8a67bd5199a28af
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-02-05 (Fri, 05 Feb 2016)

  Changed paths:
    M cfg.lex
    M cfg.y
    M daemonize.c
    M globals.h
    M main.c
    M modules/dialog/dialog.c
    M net/net_udp.c
    M net/net_udp.h
    M pt.c

  Log Message:
  -----------
  Removed the "dont_fork" feature


  Commit: b9b0083c03c983df0e529efc08a82ebe34610475
      https://github.com/OpenSIPS/opensips/commit/b9b0083c03c983df0e529efc08a82ebe34610475
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-02-08 (Mon, 08 Feb 2016)

  Changed paths:
    M cfg.lex
    M cfg.y
    M daemonize.c
    M globals.h
    M main.c
    M net/net_tcp.c

  Log Message:
  -----------
  Added "debug_mode" option as replacement for "fork"

While enabling "debug_mode", opensips will automataically force:
	- staying in foreground (do not detach from console)
	- set logging level to 4 (debug)
	- set logging to standard error
	- enable core dumping
	- set UDP worker processes to 2
	- set TCP worker processes to 2


  Commit: 8803a875e4cb8f1ef75d00606636a9f9df34a708
      https://github.com/OpenSIPS/opensips/commit/8803a875e4cb8f1ef75d00606636a9f9df34a708
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-02-08 (Mon, 08 Feb 2016)

  Changed paths:
    M modules/acc/acc.c
    M modules/acc/acc_logic.c
    M modules/acc/acc_mod.c
    M modules/acc/acc_mod.h
    M parser/sdp/sdp.c

  Log Message:
  -----------
  Renamed local log_level variables/parameters.


  Commit: 61f1b4225d9313e0af6a237cc15a746dc5127521
      https://github.com/OpenSIPS/opensips/commit/61f1b4225d9313e0af6a237cc15a746dc5127521
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-02-08 (Mon, 08 Feb 2016)

  Changed paths:
    M action.c
    M cfg.lex
    M cfg.y
    M dprint.c
    M dprint.h
    M main.c
    M mi/mi_core.c
    M pt.c
    M pt.h

  Log Message:
  -----------
  "debug" global parameter renamed to "log_level"


  Commit: 46a26bfbbb80b9b42d66760b81661a6fd10ddd7b
      https://github.com/OpenSIPS/opensips/commit/46a26bfbbb80b9b42d66760b81661a6fd10ddd7b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-02-08 (Mon, 08 Feb 2016)

  Changed paths:
    M modules/topology_hiding/topo_hiding_logic.c

  Log Message:
  -----------
  Updated to new the prototypes for logging functions


  Commit: f17462976366d9a809d98130915ad1bfebb284ef
      https://github.com/OpenSIPS/opensips/commit/f17462976366d9a809d98130915ad1bfebb284ef
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2016-02-08 (Mon, 08 Feb 2016)

  Changed paths:
    M action.c
    M cfg.lex
    M cfg.y
    M pvar.c
    M pvar.h
    M route.c
    M route_struct.c
    M route_struct.h

  Log Message:
  -----------
  set_debug() function replaced with $log_level

The new script variables allows read and write operations. On write, it does exactly as the old set_debug() function (on writting the NULL value -> reset the log level)


Compare: https://github.com/OpenSIPS/opensips/compare/ce89e291e061...f17462976366


More information about the Devel mailing list