Reduced the verbocity level of the property loader.
This commit is contained in:
@@ -28,7 +28,7 @@ libsgmisc_a_SOURCES = \
|
||||
|
||||
noinst_PROGRAMS = props_test
|
||||
|
||||
props_test_SOURCES = props_test.cxx props_test.hxx
|
||||
props_test_SOURCES = props_test.cxx
|
||||
props_test_LDADD = libsgmisc.a ../xml/libsgxml.a ../debug/libsgdebug.a
|
||||
|
||||
INCLUDES += -I$(top_srcdir) $(ZLIB_INCL)
|
||||
|
||||
@@ -139,13 +139,12 @@ PropsVisitor::endElement (const char * name)
|
||||
<< " assuming 'unknown'");
|
||||
ret = st.node->setUnknownValue(_data);
|
||||
}
|
||||
if (!ret)
|
||||
FG_LOG(FG_INPUT, FG_ALERT, "readProperties: Failed to set "
|
||||
<< st.node->getPath() << " to value \""
|
||||
<< _data << "\" with type " << st.type);
|
||||
}
|
||||
|
||||
if (!ret)
|
||||
FG_LOG(FG_INPUT, FG_ALERT, "readProperties: Failed to set "
|
||||
<< st.node->getPath() << " to value \""
|
||||
<< _data << " with type " << st.type);
|
||||
|
||||
pop_state();
|
||||
}
|
||||
|
||||
|
||||
@@ -133,11 +133,15 @@ gzfilebuf::attach( int file_descriptor, ios_openmode io_mode )
|
||||
gzfilebuf*
|
||||
gzfilebuf::close()
|
||||
{
|
||||
// cout << "closing ..." ;
|
||||
if ( is_open() )
|
||||
{
|
||||
sync();
|
||||
gzclose( file );
|
||||
file = NULL;
|
||||
// cout << "done" << endl;
|
||||
} else {
|
||||
// cout << "error" << endl;
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user