<div dir="ltr"><div><div><div>Good afternoon,<br><br></div>We are using Logback in a security sensitive application.<br><br></div>The logging configuration normally includes a RollingFileAppender but we have the following requirement: If at any time a write to the log fails (due to a full disk, file permissions, etc.) the application must halt immediately, because no logs means no audit data, and that constitutes a high security risk.<br>
</div><div><br>Now, the usual behavior when Logback can't write to the file is to log the error and continue. What would be the right way to handle this?<br><br></div><div>Thank you,<br></div><div>Gabriel<br></div></div>