summaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2017-03-01 10:20:01 +0000
committerLubomir Rintel <lkundrak@v3.sk>2017-03-24 12:42:09 +0100
commited552c732c76c6f0f222a71400d601a0c967be83 (patch)
tree765a627c46f2764bb3a5c26d3316722fb239f349 /src/tests
parent03a3fd901486aa40b41f2aa066ce1ea832f0f965 (diff)
downloadNetworkManager-ed552c732c76c6f0f222a71400d601a0c967be83.tar.gz
logging: log device and connection along with the message
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/test-general.c2
-rw-r--r--src/tests/test-systemd.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/tests/test-general.c b/src/tests/test-general.c
index cd1c9a9346..00f66bc2df 100644
--- a/src/tests/test-general.c
+++ b/src/tests/test-general.c
@@ -228,7 +228,7 @@ test_nm_utils_log_connection_diff (void)
* early without doing anything. Hence, in the normal testing, this test does nothing.
* It only gets interesting, when run verbosely with NMTST_DEBUG=debug ... */
- nm_log (LOGL_DEBUG, LOGD_CORE, "START TEST test_nm_utils_log_connection_diff...");
+ nm_log (LOGL_DEBUG, LOGD_CORE, NULL, NULL, "START TEST test_nm_utils_log_connection_diff...");
connection = nm_simple_connection_new ();
nm_connection_add_setting (connection, nm_setting_connection_new ());
diff --git a/src/tests/test-systemd.c b/src/tests/test-systemd.c
index 078879601e..f6cf9b58c9 100644
--- a/src/tests/test-systemd.c
+++ b/src/tests/test-systemd.c
@@ -54,6 +54,8 @@ _nm_log_impl (const char *file,
NMLogLevel level,
NMLogDomain domain,
int error,
+ const char *ifname,
+ const char *con_uuid,
const char *fmt,
...)
{