Browse Source

change info message to debug

David Rose 22 years ago
parent
commit
02ebda98a7
1 changed files with 4 additions and 2 deletions
  1. 4 2
      panda/src/putil/bamReader.cxx

+ 4 - 2
panda/src/putil/bamReader.cxx

@@ -744,8 +744,10 @@ p_read_object() {
 
     // Just some sanity checks
     if (object == (TypedWritable *)NULL) {
-      bam_cat.info()
-        << "Unable to create an object of type " << type << endl;
+      if (bam_cat.is_debug()) {
+        bam_cat.debug()
+          << "Unable to create an object of type " << type << endl;
+      }
 
     } else if (object->get_type() != type) {
       if (_new_types.find(type) != _new_types.end()) {