X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=src%2Frouter_flexml.cpp;h=0233cdc5ee1a5446fd278be9d37e947031f495a2;hb=d0123337d70b0fb97b578cc57467bb94980f1014;hp=1f5b268cdc8b3ebfc060102f4af3c70a535127db;hpb=e9530d6289df9b848e4901d7c73f5a2f27706d66;p=metaproxy-moved-to-github.git diff --git a/src/router_flexml.cpp b/src/router_flexml.cpp index 1f5b268..0233cdc 100644 --- a/src/router_flexml.cpp +++ b/src/router_flexml.cpp @@ -1,5 +1,5 @@ /* This file is part of Metaproxy. - Copyright (C) 2005-2008 Index Data + Copyright (C) 2005-2009 Index Data Metaproxy is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free @@ -25,6 +25,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #include #include #include +#include #include @@ -116,8 +117,8 @@ void mp::RouterFleXML::Rep::parse_xml_filters(xmlDocPtr doc, 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); @@ -208,8 +209,8 @@ void mp::RouterFleXML::Rep::parse_xml_routes(xmlDocPtr doc, { 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); @@ -386,8 +387,9 @@ mp::RouterFleXML::Pos::~Pos() /* * Local variables: * c-basic-offset: 4 + * c-file-style: "Stroustrup" * indent-tabs-mode: nil - * c-file-style: "stroustrup" * End: * vim: shiftwidth=4 tabstop=8 expandtab */ +