mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
All logging now goes to LOG_ERR
This commit is contained in:
parent
54e8fd121a
commit
1476966099
7
HISTORY
7
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.
|
||||
|
10
config.h
10
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
|
||||
|
8
tools.h
8
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)
|
||||
|
Loading…
Reference in New Issue
Block a user