Commit c5a9c69b authored by Vaclav Haisman's avatar Vaclav Haisman Committed by Mukund Sivaraman
Browse files

bug #1825: Don't use log4cplus macros which are going to be obsolete soon

LOG4CPLUS_OPEN_MODE_TYPE and LOG4CPLUS_FSTREAM_NAMESPACE are going to be
removed in log4cplus 1.1.0 according to the bug report.
parent 1448f69f
...@@ -115,8 +115,8 @@ void ...@@ -115,8 +115,8 @@ void
LoggerManagerImpl::createFileAppender(log4cplus::Logger& logger, LoggerManagerImpl::createFileAppender(log4cplus::Logger& logger,
const OutputOption& opt) const OutputOption& opt)
{ {
LOG4CPLUS_OPEN_MODE_TYPE mode = // Append to existing file
LOG4CPLUS_FSTREAM_NAMESPACE::ios::app; // Append to existing file std::ios::openmode mode = std::ios::app;
log4cplus::SharedAppenderPtr fileapp; log4cplus::SharedAppenderPtr fileapp;
if (opt.maxsize == 0) { if (opt.maxsize == 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment