<div dir="ltr">Hi All,<div>I recently filled up a disk with logs, and so now I'm trying to figure out how to ensure that I can set an upper-limit on the size of all logs in the directory.  I've found how to trigger file rollover @ a given size, and how to clean up logs after, say 3 days, but provided I'm thinking about this correctly, what I really want is:</div><div><br></div><div>1) roll over logs @ midnight each day</div><div>2) cleanup logs if size of all logs gets larger than X bytes</div><div><br></div><div>I haven't found a way to do this without writing my own RollingPolicy (and maybe TriggerPolicy, NamingPolicy, etc).</div><div><br></div><div>This seems like it would be a common goal for users, so am I missing some way to do this with Logback off-the-shelf (i.e. no custom code)?</div><div><br></div><div>Thanks,<br>BIM</div></div>