From fb9edd5eddfd69a8c6eb5d1ad32b24cc33a3cb5d Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 15 Jun 2018 17:05:58 +0200 Subject: release: bump version to 1.13.0 (development) --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 641af9bfc0..2812a19f07 100644 --- a/configure.ac +++ b/configure.ac @@ -7,8 +7,8 @@ dnl - add corresponding NM_VERSION_x_y_z macros in dnl "shared/nm-version-macros.h.in" dnl - update number in meson.build m4_define([nm_major_version], [1]) -m4_define([nm_minor_version], [11]) -m4_define([nm_micro_version], [90]) +m4_define([nm_minor_version], [13]) +m4_define([nm_micro_version], [0]) m4_define([nm_version], [nm_major_version.nm_minor_version.nm_micro_version]) -- cgit v1.2.1 From 2ccf6168dc1c54fde350ec669b777c29d566fb4a Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Thu, 21 Jun 2018 09:21:57 +0200 Subject: logging: warn about invalid logging backends and drop "debug" backend "debug" was documentation in `man NetworkManager.conf` as a valid logging backend. However, it was completely ignored by nm_logging_syslog_openlog(). In fact, it makes not sense. Passing debug = TRUE to nm_logging_syslog_openlog(), means that all messages will be printed to stderr in addition to syslog/journal. However, when NetworkManager is daemonizing, stderr is closed. Whether NetworkManager is daemonizing depends entirely on command line options --no-daemon and --debug. Hence, the logging backend "debug" from the configuration file either conflicts or is redundant. Also, adjust logging backend description in `man NetworkManager.conf`. Also, log a warning about invalid/unsupported logging backend. --- configure.ac | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2812a19f07..f562b59b85 100644 --- a/configure.ac +++ b/configure.ac @@ -391,10 +391,8 @@ AC_ARG_WITH(config-logging-backend-default, nm_config_logging_backend_default="$withval", nm_config_logging_backend_default="") -if test "$nm_config_logging_backend_default" != 'debug' \ - -a "$nm_config_logging_backend_default" != 'syslog' \ - -a "$nm_config_logging_backend_default" != 'journal' \ - -a "$nm_config_logging_backend_default" != 'journal-syslog-style'; then +if test "$nm_config_logging_backend_default" != 'syslog' \ + -a "$nm_config_logging_backend_default" != 'journal'; then # unknown backend. Reset to default. Silently accept the invalid value to # be future proof. nm_config_logging_backend_default='' -- cgit v1.2.1