I am running ColdBox 3.5.2 with the following log configuration in my Coldbox.cfc:
// LogBox DSL
logBox = {
// Define Appenders
appenders = {
rollingFile = {
class=“coldbox.system.logging.appenders.AsyncFileAppender”,
levelMax=“WARN”,
levelMin=“FATAL”,
properties={
fileName=“INDURE_Mobile”,
filePath="/#appMapping#/…/…/…/log",
autoExpand=“true”,
fileMaxSize=“3000”,
fileMaxArchives=“5”
}
}
},
root = {levelMin=“FATAL”, levelMax=“INFO”, appenders="*"}
};
The issue I’m seeing is that it is not honoring the fileMaxSize for archive settings. Per the documentation (as I understand it), fileMaxSize=3000 should limit the log to approx. 3MB. My log is now 15MB. Does anyone know what I’m missing here?
Cheers!
Kevin S. Anderson
Intelligent Software Solutions Inc.