I am trying to save the log files in a rotation of 5 files (MaxBackupIndex) and a max file size of 10KB. For some reason with my configuration, it seems that eventhough my properties get loaded in, they do not take place (i.e. no new files ever get created, only manager.log)
Here is my properties file:
log4j.appender.logfile=org.apache.log4j.rolling.RollingFileAppender
log4j.appender.logfile.File=logs\\manager.log
log4j.appender.logfile.RollingPolicy=org.apache.log4j.rolling.TimeBasedRollingPolicy
log4j.appender.logfile.RollingPolicy.FileNamePattern=logs\\manager.%d{yyyy-MM-dd}.log.gz
log4j.appender.logfile.TriggeringPolicy=org.apache.log4j.rolling.SizeBasedTriggeringPolicy
log4j.appender.logfile.TriggeringPolicy.MaxFileSize=10240
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d %p %t %c: %m%n
I am at a loss for why it wouldn't go along with these settings, even when it loads it in. Do I need to do something special with vertx to make it work?
-RC