logging: log device and connection along with the message

This commit is contained in:
Lubomir Rintel
2017-03-01 10:20:01 +00:00
parent 03a3fd9014
commit ed552c732c
43 changed files with 118 additions and 75 deletions

View File

@@ -122,7 +122,7 @@ static void _set_activation_type (NMActiveConnection *self,
G_STMT_START { \
char _sbuf[64]; \
\
nm_log ((level), _NMLOG_DOMAIN, \
nm_log ((level), _NMLOG_DOMAIN, NULL, NULL, \
"%s%s: " _NM_UTILS_MACRO_FIRST (__VA_ARGS__), \
_NMLOG_PREFIX_NAME, \
self ? nm_sprintf_buf (_sbuf, "[%p]", self) : "" \