It seems like you should be able to use a DeleteAction to make sure there is always enough free space.
Ralph > On May 18, 2020, at 2:22 PM, Gary Gregory <[email protected]> wrote: > > Hi All: > > I have cases where our consultants at work want to turn on debug logging to > help diagnose issues for long running tasks but... they do not want to > crash a machine by making it run out of disk space. > > Do we foresee a FileAppender feature to disable logging if disk space falls > below a certain threshold? > > It looks like we can do something like that using a rolling file appender > with rollover strategy combined with a size-based triggering policy? So > we'd keep on logging "in a circle" over the same files? > > Gary
