Decrease debug message verbosity levels.

This commit is contained in:
Thulinma 2015-01-15 10:20:49 +01:00
parent a001feafca
commit e70a5c106d
3 changed files with 4 additions and 5 deletions

View file

@ -224,12 +224,11 @@ namespace Mist {
break; break;
} }
} }
INFO_MSG("%s", (hasKeySizes ? "hasKeysizes" : "noHasKeysizes"));
if (hasKeySizes){ if (hasKeySizes){
for (std::map<unsigned int, DTSC::Track>::iterator it = myMeta.tracks.begin(); it != myMeta.tracks.end(); it++){ for (std::map<unsigned int, DTSC::Track>::iterator it = myMeta.tracks.begin(); it != myMeta.tracks.end(); it++){
char tmpId[20]; char tmpId[20];
sprintf(tmpId, "%u", it->first); sprintf(tmpId, "%u", it->first);
INFO_MSG("Making page %s", std::string(config->getString("streamname") + tmpId).c_str()); DEBUG_MSG(DLVL_HIGH, "Making page %s", std::string(config->getString("streamname") + tmpId).c_str());
indexPages[it->first].init(config->getString("streamname") + tmpId, 8 * 1024, true);//Pages of 8kb in size, room for 512 parts. indexPages[it->first].init(config->getString("streamname") + tmpId, 8 * 1024, true);//Pages of 8kb in size, room for 512 parts.
bool newData = true; bool newData = true;
for (int i = 0; i < it->second.keys.size(); i++){ for (int i = 0; i < it->second.keys.size(); i++){
@ -373,7 +372,7 @@ namespace Mist {
break; break;
} }
} }
DEBUG_MSG(DLVL_DEVEL, "Done buffering page %u for track %u", pageNum, track); DEBUG_MSG(DLVL_HIGH, "Done buffering page %u for track %u", pageNum, track);
return true; return true;
} }

View file

@ -56,7 +56,7 @@ namespace Mist {
DTSC::File tmp(config->getString("input") + ".dtsh"); DTSC::File tmp(config->getString("input") + ".dtsh");
if (tmp) { if (tmp) {
myMeta = tmp.getMeta(); myMeta = tmp.getMeta();
DEBUG_MSG(DLVL_DEVEL,"Meta read in with %lu tracks", myMeta.tracks.size()); DEBUG_MSG(DLVL_HIGH,"Meta read in with %lu tracks", myMeta.tracks.size());
return true; return true;
} }
if (inFile.getMeta().moreheader < 0 || inFile.getMeta().tracks.size() == 0) { if (inFile.getMeta().moreheader < 0 || inFile.getMeta().tracks.size() == 0) {

View file

@ -164,7 +164,7 @@ namespace Mist {
void OutHDS::sendNext(){ void OutHDS::sendNext(){
if (currentPacket.getTime() >= playUntil){ if (currentPacket.getTime() >= playUntil){
DEBUG_MSG(DLVL_DEVEL, "(%d) Done sending fragment", getpid() ); DEBUG_MSG(DLVL_HIGH, "(%d) Done sending fragment", getpid() );
stop(); stop();
wantRequest = true; wantRequest = true;
H.Chunkify("", 0, myConn); H.Chunkify("", 0, myConn);