Custom Layout Configuration Help using Log4j2-beta7

2013-07-10 Thread Andrew Berman
Hello, I've written a custom layout and a helper class. It all works great, however, my question has to do with how to interpolate the variables inside of an attribute in the configuration. For example: What I'm trying to figure out is how I can get the $[sys:mySysProperty

Log4j property file, FixedWindowRollingPilicy and SizeBasedTriggeringPolicy

2013-07-10 Thread Sara
Hi, I am using log4j.1.2.17 and apache-log4j-extras-1-1.jar. I want to implement a rollover mechanism, not depending on time and based on a certain size. I have the following configurations in a log4j.property file: log4j.rootLogger=INFO log4j.logger.TraceLogger=INFO, TraceLoggerAppender log4j.