diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2013-08-21 17:15:24 +0200 |
---|---|---|
committer | Tomas Bzatek <tbzatek@redhat.com> | 2013-08-21 17:15:24 +0200 |
commit | 65a8def89babf3d9db60e5efb29b849e8925fc67 (patch) | |
tree | 41bb91d3b7f81c1796d09b49aee4f3eff0643414 /src/indmanager | |
parent | cd02c019419f4dc763bea7fabc74b130e0c6b091 (diff) | |
download | openlmi-providers-65a8def89babf3d9db60e5efb29b849e8925fc67.tar.gz openlmi-providers-65a8def89babf3d9db60e5efb29b849e8925fc67.tar.xz openlmi-providers-65a8def89babf3d9db60e5efb29b849e8925fc67.zip |
indmanager: Use CMTraceMessage() instead of CMLogMessage()
As per https://fedorahosted.org/openlmi/wiki/CodingConventions any
debugging message that shouldn't go to user should be using
CMTraceMessage().
Doing this change to minimize output to syslog, making journald
indications nearly impossible to debug due to constant logging,
generating more and more indications, resulting in endless loop.
Diffstat (limited to 'src/indmanager')
-rw-r--r-- | src/indmanager/ind_manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/indmanager/ind_manager.c b/src/indmanager/ind_manager.c index 426cc0c..805806f 100644 --- a/src/indmanager/ind_manager.c +++ b/src/indmanager/ind_manager.c @@ -43,7 +43,7 @@ static inline void _im_debug(const CMPIBroker *b, const char *file, const char * va_start(args, format); vsnprintf(text+strlen(text), 2047-strlen(text), format, args); va_end(args); - CMLogMessage(b, CMPI_DEV_DEBUG, "LMI indication manager", text, NULL); + CMTraceMessage(b, CMPI_LEV_VERBOSE, "LMI indication manager", text, NULL); } // Get char * representation of name space from object path |