mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Reverted the change from version 1.5.7 that made all logging go to LOG_ERR
This commit is contained in:
parent
c385d5bf0c
commit
9492231058
@ -2882,6 +2882,7 @@ Christopher Reimer <reimer.christopher@freenet.de>
|
|||||||
for making plugin Makefiles use DESTDIR and the 'install' program
|
for making plugin Makefiles use DESTDIR and the 'install' program
|
||||||
for suggesting to make sure that plugins include the VDR header files from the actual
|
for suggesting to make sure that plugins include the VDR header files from the actual
|
||||||
VDR source directory when doing "make plugins"
|
VDR source directory when doing "make plugins"
|
||||||
|
for reverting the change from version 1.5.7 that made all logging go to LOG_ERR
|
||||||
|
|
||||||
Stefan Huskamp <coca_cola1@gmx.de>
|
Stefan Huskamp <coca_cola1@gmx.de>
|
||||||
for suggesting to make entering characters via the number keys
|
for suggesting to make entering characters via the number keys
|
||||||
|
2
HISTORY
2
HISTORY
@ -7882,3 +7882,5 @@ Video Disk Recorder Revision History
|
|||||||
- All bonded devices (except for the master) now turn off their LNB power completely
|
- All bonded devices (except for the master) now turn off their LNB power completely
|
||||||
to avoid problems when receiving vertically polarized transponders (suggested by
|
to avoid problems when receiving vertically polarized transponders (suggested by
|
||||||
Manfred Völkel and Oliver Endriss).
|
Manfred Völkel and Oliver Endriss).
|
||||||
|
- Reverted the change from version 1.5.7 that made all logging go to LOG_ERR (thanks
|
||||||
|
to Christopher Reimer).
|
||||||
|
8
tools.h
8
tools.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* 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
|
#ifndef __TOOLS_H
|
||||||
@ -31,9 +31,9 @@ typedef unsigned char uchar;
|
|||||||
|
|
||||||
extern int SysLogLevel;
|
extern int SysLogLevel;
|
||||||
|
|
||||||
#define esyslog(a...) void( (SysLogLevel > 0) ? 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_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_ERR, 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 esyslog("ERROR (%s,%d): %m", __FILE__, __LINE__)
|
||||||
#define LOG_ERROR_STR(s) esyslog("ERROR (%s,%d): %s: %m", __FILE__, __LINE__, s)
|
#define LOG_ERROR_STR(s) esyslog("ERROR (%s,%d): %s: %m", __FILE__, __LINE__, s)
|
||||||
|
Loading…
Reference in New Issue
Block a user