From 1476966099a314e107bf58bc53f4e73d9e4068eb Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 28 Jul 2007 09:45:27 +0200 Subject: [PATCH] All logging now goes to LOG_ERR --- HISTORY | 7 +++++++ config.h | 10 +++++----- tools.h | 8 ++++---- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/HISTORY b/HISTORY index f9727ae6..a5522869 100644 --- a/HISTORY +++ b/HISTORY @@ -5298,3 +5298,10 @@ Video Disk Recorder Revision History cDevice::TrickSpeed() (suggested by Martin Dauskardt). - Added a missing 'P' to vdr.c's SHUTDOWNCANCELROMPT macro (reported by Marco Schlüßler). + +2007-07-28: Version 1.5.7 + +- All logging now goes to LOG_ERR, because some systems split error, info and + debug messages into separate files, which repeatedly caused extra efforts to + find out when incomplete log excerpts were attached to problem reports in + the past. diff --git a/config.h b/config.h index edc51235..19b22716 100644 --- a/config.h +++ b/config.h @@ -4,7 +4,7 @@ * See the main source file 'vdr.c' for copyright information and * how to reach the author. * - * $Id: config.h 1.294 2007/07/20 14:52:05 kls Exp $ + * $Id: config.h 1.295 2007/07/28 09:45:27 kls Exp $ */ #ifndef __CONFIG_H @@ -22,13 +22,13 @@ // VDR's own version number: -#define VDRVERSION "1.5.6" -#define VDRVERSNUM 10506 // Version * 10000 + Major * 100 + Minor +#define VDRVERSION "1.5.7" +#define VDRVERSNUM 10507 // Version * 10000 + Major * 100 + Minor // The plugin API's version number: -#define APIVERSION "1.5.6" -#define APIVERSNUM 10506 // Version * 10000 + Major * 100 + Minor +#define APIVERSION "1.5.7" +#define APIVERSNUM 10507 // Version * 10000 + Major * 100 + Minor // When loading plugins, VDR searches them by their APIVERSION, which // may be smaller than VDRVERSION in case there have been no changes to diff --git a/tools.h b/tools.h index a0c5a528..17875d0b 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 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)