Tweaked debug message verbosity.
This commit is contained in:
parent
3c8cc43ad9
commit
a9a7ff7202
2 changed files with 3 additions and 3 deletions
|
@ -31,8 +31,8 @@ namespace Controller {
|
||||||
char buffer [100];
|
char buffer [100];
|
||||||
time (&rawtime);
|
time (&rawtime);
|
||||||
timeinfo = localtime (&rawtime);
|
timeinfo = localtime (&rawtime);
|
||||||
strftime (buffer,100,"%b %d %Y -- %H:%M",timeinfo);
|
strftime(buffer,100,"%F %H:%M:%S",timeinfo);
|
||||||
std::cout << "(" << buffer << ") [" << kind << "] " << message << std::endl;
|
std::cout << "[" << buffer << "] " << kind << ": " << message << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
///\brief Write contents to Filename
|
///\brief Write contents to Filename
|
||||||
|
|
|
@ -280,7 +280,7 @@ namespace Mist {
|
||||||
unsigned long pageNum = pageNumForKey(trackId, keyNum);
|
unsigned long pageNum = pageNumForKey(trackId, keyNum);
|
||||||
while (pageNum == -1){
|
while (pageNum == -1){
|
||||||
if (!timeout){
|
if (!timeout){
|
||||||
DEBUG_MSG(DLVL_DEVEL, "Requesting/waiting for page that has key %lu:%lld...", trackId, keyNum);
|
DEBUG_MSG(DLVL_VERYHIGH, "Requesting page with key %lu:%lld", trackId, keyNum);
|
||||||
}
|
}
|
||||||
if (timeout++ > 100){
|
if (timeout++ > 100){
|
||||||
DEBUG_MSG(DLVL_FAIL, "Timeout while waiting for requested page. Aborting.");
|
DEBUG_MSG(DLVL_FAIL, "Timeout while waiting for requested page. Aborting.");
|
||||||
|
|
Loading…
Add table
Reference in a new issue