[logback-user] directories not being created during rollover

Travis Hume thume at brightcove.com
Thu Mar 10 23:22:12 CET 2011

So close ...

I'm programmatically building a logger and having some problems with
logs being rolled correctly.
The RollingFileAppender is configured like:
  fileName = "log/collector-events.log"
  rollingPolicy.fileNamePattern =

Additionally, I've configured a SizeAndTimeBasedFNATP to trigger at a
certain size.

>From my reading and re-reading of the docs I'd expect
log/collector-events.log to be rolled to

Instead every minute I get a new file that looks like:

I've tried removing the compression (.gz) and standard configuration
(logback.groovy) with the same result.

I'm developing with logback-classic v0.9.28 on Ubuntu 10.10 and Java 1.6.0_21


Travis Hume | Senior Software Engineer | Brightcove Inc.
200 West Mercer Street, Suite 204 | Seattle, WA 98119

More information about the Logback-user mailing list