From 02ebda98a7ec698e23358ef8df4a230efcab0329 Mon Sep 17 00:00:00 2001 From: David Rose Date: Thu, 24 Jul 2003 17:00:10 +0000 Subject: [PATCH] change info message to debug --- panda/src/putil/bamReader.cxx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/panda/src/putil/bamReader.cxx b/panda/src/putil/bamReader.cxx index e7ee6a7ae1..27392fe761 100644 --- a/panda/src/putil/bamReader.cxx +++ b/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()) {