chiark / gitweb /
prepare for new HAL udevdb dump
[elogind.git] / logging.h
index 904355cb2cf4fa4f590f3bcd7f950069ca95cefe..e0dcb80305ecb08e081200801451b9f93096bdf2 100644 (file)
--- a/logging.h
+++ b/logging.h
 #undef err
 #define err(format, arg...)                                                    \
        do {                                                                    \
-               log_message(LOG_INFO ,"%s: " format ,__FILE__ ,## arg);         \
+               log_message(LOG_ERR ,"%s: " format ,__FUNCTION__ ,## arg);              \
        } while (0)
 
 #undef info
 #define info(format, arg...)                                                   \
        do {                                                                    \
-               log_message(LOG_INFO ,"%s: " format ,__FILE__ ,## arg);         \
+               log_message(LOG_INFO ,"%s: " format ,__FUNCTION__ ,## arg);             \
        } while (0)
 
 #ifdef DEBUG