diff options
author | Klaus Schmidinger <vdr@tvdr.de> | 2007-07-28 09:45:27 +0200 |
---|---|---|
committer | Klaus Schmidinger <vdr@tvdr.de> | 2007-07-28 09:45:27 +0200 |
commit | 1476966099a314e107bf58bc53f4e73d9e4068eb (patch) | |
tree | dc6f34a4f1004570e6b9c8101049addeadbb1848 /tools.h | |
parent | 54e8fd121a70a9e83ce47cc78bbff57eeb987bba (diff) | |
download | vdr-1476966099a314e107bf58bc53f4e73d9e4068eb.tar.gz vdr-1476966099a314e107bf58bc53f4e73d9e4068eb.tar.bz2 |
All logging now goes to LOG_ERR
Diffstat (limited to 'tools.h')
-rw-r--r-- | tools.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: tools.h 1.104 2007/07/21 13:35:45 kls Exp $ + * $Id: tools.h 1.105 2007/07/28 09:43:04 kls Exp $ */ #ifndef __TOOLS_H @@ -28,9 +28,9 @@ typedef unsigned char uchar; extern int SysLogLevel; -#define esyslog(a...) void( (SysLogLevel > 0) ? syslog_with_tid(LOG_ERR, a) : void() ) -#define isyslog(a...) void( (SysLogLevel > 1) ? syslog_with_tid(LOG_INFO, a) : void() ) -#define dsyslog(a...) void( (SysLogLevel > 2) ? syslog_with_tid(LOG_DEBUG, a) : void() ) +#define esyslog(a...) void( (SysLogLevel > 0) ? syslog_with_tid(LOG_ERR, a) : void() ) +#define isyslog(a...) void( (SysLogLevel > 1) ? syslog_with_tid(LOG_ERR, a) : void() ) +#define dsyslog(a...) void( (SysLogLevel > 2) ? syslog_with_tid(LOG_ERR, a) : void() ) #define LOG_ERROR esyslog("ERROR (%s,%d): %m", __FILE__, __LINE__) #define LOG_ERROR_STR(s) esyslog("ERROR: %s: %m", s) |