projects
/
metaproxy-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Call autoheader when needed
[metaproxy-moved-to-github.git]
/
src
/
router_flexml.cpp
diff --git
a/src/router_flexml.cpp
b/src/router_flexml.cpp
index
1f5b268
..
c294a9c
100644
(file)
--- a/
src/router_flexml.cpp
+++ b/
src/router_flexml.cpp
@@
-25,6
+25,7
@@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include <iostream>
#include <map>
#include <list>
#include <iostream>
#include <map>
#include <list>
+#include <yaz/log.h>
#include <boost/shared_ptr.hpp>
#include <boost/shared_ptr.hpp>
@@
-116,8
+117,8
@@
void mp::RouterFleXML::Rep::parse_xml_filters(xmlDocPtr doc,
if (!m_factory->exist(type_value))
{
if (!m_factory->exist(type_value))
{
- std::cout << "about to load " << type_value << ", path=" <<
- m_dl_path << "\n";
+ yaz_log(YLOG_LOG, "Loading %s (dlpath %s)",
+ type_value.c_str(), m_dl_path.c_str());
m_factory->add_creator_dl(type_value, m_dl_path);
}
mp::filter::Base* filter_base = m_factory->create(type_value);
m_factory->add_creator_dl(type_value, m_dl_path);
}
mp::filter::Base* filter_base = m_factory->create(type_value);
@@
-208,8
+209,8
@@
void mp::RouterFleXML::Rep::parse_xml_routes(xmlDocPtr doc,
{
if (!m_factory->exist(type_value))
{
{
if (!m_factory->exist(type_value))
{
- std::cout << "about to load " << type_value << ", path=" <<
- m_dl_path << "\n";
+ yaz_log(YLOG_LOG, "Loading %s (dlpath %s)",
+ type_value.c_str(), m_dl_path.c_str());
m_factory->add_creator_dl(type_value, m_dl_path);
}
mp::filter::Base* filter_base = m_factory->create(type_value);
m_factory->add_creator_dl(type_value, m_dl_path);
}
mp::filter::Base* filter_base = m_factory->create(type_value);