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];
|
||||
time (&rawtime);
|
||||
timeinfo = localtime (&rawtime);
|
||||
strftime (buffer,100,"%b %d %Y -- %H:%M",timeinfo);
|
||||
std::cout << "(" << buffer << ") [" << kind << "] " << message << std::endl;
|
||||
strftime(buffer,100,"%F %H:%M:%S",timeinfo);
|
||||
std::cout << "[" << buffer << "] " << kind << ": " << message << std::endl;
|
||||
}
|
||||
|
||||
///\brief Write contents to Filename
|
||||
|
|
|
@ -280,7 +280,7 @@ namespace Mist {
|
|||
unsigned long pageNum = pageNumForKey(trackId, keyNum);
|
||||
while (pageNum == -1){
|
||||
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){
|
||||
DEBUG_MSG(DLVL_FAIL, "Timeout while waiting for requested page. Aborting.");
|
||||
|
|
Loading…
Add table
Reference in a new issue