Permalink
Browse files

Minor LOG fixes.

  • Loading branch information...
daniel-kristjansson committed Apr 27, 2012
1 parent 3fb9d6e commit 725264c03485c909b9e7f0455c15464fe963dff4
Showing with 9 additions and 9 deletions.
  1. +9 −9 mythtv/libs/libmyth/backendselect.cpp
@@ -199,12 +199,12 @@ bool BackendSelection::ConnectBackend(DeviceLocation *dev)
{
case UPnPResult_Success:
LOG(VB_UPNP, LOG_INFO,
- QString("ConnectBackend() - success. New hostname: %1")
- .arg(m_DBparams->dbHostName));
+ QString("ConnectBackend() - success. New hostname: %1")
+ .arg(m_DBparams->dbHostName));
return true;
case UPnPResult_HumanInterventionRequired:
- LOG(VB_UPNP, LOG_ERR, error);
+ LOG(VB_GENERAL, LOG_ERR, QString("Need Human: %1").arg(message));
ShowOkPopup(message);
if (TryDBfromURL("", dev->m_sLocation))
@@ -213,16 +213,16 @@ bool BackendSelection::ConnectBackend(DeviceLocation *dev)
break;
case UPnPResult_ActionNotAuthorized:
- LOG(VB_UPNP, LOG_ERR,
- QString("Access denied for %1. Wrong PIN?")
- .arg(backendName));
+ LOG(VB_GENERAL, LOG_ERR,
+ QString("Access denied for %1. Wrong PIN?")
+ .arg(backendName));
PromptForPassword();
break;
default:
- LOG(VB_UPNP, LOG_ERR,
- QString("GetConnectionInfo() failed for %1")
- .arg(backendName));
+ LOG(VB_GENERAL, LOG_ERR,
+ QString("GetConnectionInfo() failed for %1 : %2")
+ .arg(backendName).arg(message));
ShowOkPopup(message);
}

0 comments on commit 725264c

Please sign in to comment.