Decrease debug message verbosity levels.
This commit is contained in:
		
							parent
							
								
									a001feafca
								
							
						
					
					
						commit
						e70a5c106d
					
				
					 3 changed files with 4 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -224,12 +224,11 @@ namespace Mist {
 | 
			
		|||
        break;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    INFO_MSG("%s", (hasKeySizes ? "hasKeysizes" : "noHasKeysizes"));
 | 
			
		||||
    if (hasKeySizes){
 | 
			
		||||
      for (std::map<unsigned int, DTSC::Track>::iterator it = myMeta.tracks.begin(); it != myMeta.tracks.end(); it++){
 | 
			
		||||
        char tmpId[20];
 | 
			
		||||
        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.
 | 
			
		||||
        bool newData = true;
 | 
			
		||||
        for (int i = 0; i < it->second.keys.size(); i++){
 | 
			
		||||
| 
						 | 
				
			
			@ -373,7 +372,7 @@ namespace Mist {
 | 
			
		|||
        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;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -56,7 +56,7 @@ namespace Mist {
 | 
			
		|||
    DTSC::File tmp(config->getString("input") + ".dtsh");
 | 
			
		||||
    if (tmp) {
 | 
			
		||||
      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;
 | 
			
		||||
    }
 | 
			
		||||
    if (inFile.getMeta().moreheader < 0 || inFile.getMeta().tracks.size() == 0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -164,7 +164,7 @@ namespace Mist {
 | 
			
		|||
  
 | 
			
		||||
  void OutHDS::sendNext(){
 | 
			
		||||
    if (currentPacket.getTime() >= playUntil){
 | 
			
		||||
      DEBUG_MSG(DLVL_DEVEL, "(%d) Done sending fragment", getpid() );
 | 
			
		||||
      DEBUG_MSG(DLVL_HIGH, "(%d) Done sending fragment", getpid() );
 | 
			
		||||
      stop();
 | 
			
		||||
      wantRequest = true;
 | 
			
		||||
      H.Chunkify("", 0, myConn);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue