Fixed the default logging mode in a DEBUG build.

This commit is contained in:
Rolf Ahrenberg 2014-12-16 21:58:46 +02:00
parent d23578cea9
commit 8ea561a021
2 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ cSatipConfig SatipConfig;
cSatipConfig::cSatipConfig(void)
: operatingModeM(eOperatingModeLow),
#ifdef DEBUG
loggingModeM(eLoggingModeDebug1 & eLoggingModeDebug2),
loggingModeM(eLoggingModeDebug1 | eLoggingModeDebug2 | eLoggingModeDebug5),
#else
loggingModeM(eLoggingModeNormal),
#endif

View File

@ -26,7 +26,7 @@ cSatipDevice::cSatipDevice(unsigned int indexP)
{
unsigned int bufsize = (unsigned int)SATIP_BUFFER_SIZE;
bufsize -= (bufsize % TS_SIZE);
info("Creating SATIP device CardIndex=%d [device %u]", CardIndex(), deviceIndexM);
info("Creating device CardIndex=%d DeviceNumber=%d [device %u]", CardIndex(), DeviceNumber(), deviceIndexM);
tsBufferM = new cRingBufferLinear(bufsize + 1, TS_SIZE, false,
*cString::sprintf("SATIP#%d TS", deviceIndexM));
if (tsBufferM) {
@ -320,7 +320,7 @@ bool cSatipDevice::SetChannelDevice(const cChannel *channelP, bool liveViewP)
cDvbTransponderParameters dtp(channelP->Parameters());
cString params = GetTransponderUrlParameters(channelP);
if (isempty(params)) {
error("Unrecognized SATIP channel parameters: %s [device %u]", channelP->Parameters(), deviceIndexM);
error("Unrecognized channel parameters: %s [device %u]", channelP->Parameters(), deviceIndexM);
return false;
}
cString address;