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
Requires YAZ 5.9.0 due to YAZ-818 YAZ-819
[metaproxy-moved-to-github.git]
/
src
/
filter_log.cpp
diff --git
a/src/filter_log.cpp
b/src/filter_log.cpp
index
1365f5b
..
2035b09
100644
(file)
--- a/
src/filter_log.cpp
+++ b/
src/filter_log.cpp
@@
-72,11
+72,6
@@
namespace metaproxy_1 {
bool m_init_options;
LFilePtr m_file;
std::string m_time_format;
bool m_init_options;
LFilePtr m_file;
std::string m_time_format;
- // Only used during confiqgure stage (no threading),
- // for performance avoid opening files which other log filter
- // instances already have opened
- static std::list<LFilePtr> filter_log_files;
-
boost::mutex m_session_mutex;
std::map<mp::Session, std::string> m_sessions;
};
boost::mutex m_session_mutex;
std::map<mp::Session, std::string> m_sessions;
};
@@
-93,7
+88,7
@@
namespace metaproxy_1 {
std::ostringstream &os);
void flush();
};
std::ostringstream &os);
void flush();
};
-
+ static std::list<yf::Log::Impl::LFilePtr> filter_log_files;
}
}
}
}
@@
-123,10
+118,6
@@
void yf::Log::process(mp::Package &package) const
}
}
-// static initialization
-std::list<yf::Log::Impl::LFilePtr> yf::Log::Impl::filter_log_files;
-
-
yf::Log::Impl::Impl(const std::string &x)
: m_msg_config(x),
m_1line(false),
yf::Log::Impl::Impl(const std::string &x)
: m_msg_config(x),
m_1line(false),