summaryrefslogtreecommitdiff
path: root/tools.h
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2013-08-23 10:37:54 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2013-08-23 10:37:54 +0200
commit94922310584409a159ab317f284a0d4cb399a814 (patch)
treeb9e4fc7e2c1d81c7a6e5c67472b4ef7dac2b94af /tools.h
parentc385d5bf0c410a7fa557c50f7f862f2b903c8040 (diff)
downloadvdr-94922310584409a159ab317f284a0d4cb399a814.tar.gz
vdr-94922310584409a159ab317f284a0d4cb399a814.tar.bz2
Reverted the change from version 1.5.7 that made all logging go to LOG_ERR
Diffstat (limited to 'tools.h')
-rw-r--r--tools.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools.h b/tools.h
index 9618efa2..9cfd152b 100644
--- a/tools.h
+++ b/tools.h
@@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
- * $Id: tools.h 3.1 2013/08/21 08:49:48 kls Exp $
+ * $Id: tools.h 3.2 2013/08/23 10:32:51 kls Exp $
*/
#ifndef __TOOLS_H
@@ -31,9 +31,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_ERR, a) : void() )
-#define dsyslog(a...) void( (SysLogLevel > 2) ? syslog_with_tid(LOG_ERR, 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_INFO, a) : void() )
+#define dsyslog(a...) void( (SysLogLevel > 2) ? syslog_with_tid(LOG_DEBUG, a) : void() )
#define LOG_ERROR esyslog("ERROR (%s,%d): %m", __FILE__, __LINE__)
#define LOG_ERROR_STR(s) esyslog("ERROR (%s,%d): %s: %m", __FILE__, __LINE__, s)