Hello,

I started to evaluate the log4cxx-framework some time ago, and managed to
get my application logging nicely to different kinds of appenders using a
.properties file with log4cxx-0.9.7 (with msvc 6.0).
Since 0.9.7 is marked out of date and with known bugs, I tried to grab and
build a CVS-head as recommended last week - got it working with msvc
eventually.

However, some of my appenders (namely RollingFileAppender and
DailyRollingFileAppender) no longer work.
The first still creates a logfile but doesn't role, the second does nothing
and debug log shows:
"log4cxx: No output stream or file set for the appender named [D]."

Should I change the appender definitions in the properties file? I can't
find any documentation or FAQs that mention a change in the .properties
layout, allthough the sources for RollingFileAppender have changed greatly
and seem to have replaced the 'MaxFileSize' and 'MaxBackupIndex' with the
new 'RollingPolicy' objects.
Are there any examples of a .properties file for a working
RollingFileAppender with the current CVS-head?

Thanks a lot,

Iwan Tomlow

Reply via email to