Changeset 6853


Ignore:
Timestamp:
08/27/10 17:03:21 (9 years ago)
Author:
curtis
Message:

Use INFO logging in FilePattern main.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/bio-formats/src/loci/formats/FilePattern.java

    r6263 r6853  
    588588      // test file pattern detection based on the given file on disk 
    589589      Location file = new Location(args[0]); 
    590       LOGGER.debug("File = {}", file.getAbsoluteFile()); 
     590      LOGGER.info("File = {}", file.getAbsoluteFile()); 
    591591      pat = findPattern(file); 
    592592    } 
     
    609609      pat = findPattern(nameList[1], null, nameList); 
    610610    } 
    611     if (pat == null) LOGGER.debug("No pattern found."); 
     611    if (pat == null) LOGGER.info("No pattern found."); 
    612612    else { 
    613       LOGGER.debug("Pattern = {}", pat); 
     613      LOGGER.info("Pattern = {}", pat); 
    614614      FilePattern fp = new FilePattern(pat); 
    615615      if (fp.isValid()) { 
    616         LOGGER.debug("Pattern is valid."); 
    617         LOGGER.debug("Files:"); 
     616        LOGGER.info("Pattern is valid."); 
     617        LOGGER.info("Files:"); 
    618618        String[] ids = fp.getFiles(); 
    619619        for (int i=0; i<ids.length; i++) { 
    620           LOGGER.debug("  #{}: {}", i, ids[i]); 
    621         } 
    622       } 
    623       else LOGGER.debug("Pattern is invalid: {}", fp.getErrorMessage()); 
     620          LOGGER.info("  #{}: {}", i, ids[i]); 
     621        } 
     622      } 
     623      else LOGGER.info("Pattern is invalid: {}", fp.getErrorMessage()); 
    624624    } 
    625625  } 
Note: See TracChangeset for help on using the changeset viewer.