[coldbox-5.3.x] Logbox with a bad path to the log

C:\data\htdocs\nccs\C:\data\htdocs\nccs\logs\TESTLOG.log

^^ why is logbox creating this as the log file path for the append?

logBox = {

// Define Appenders
appenders = { coldboxTracer = { class=“coldbox.system.logging.appenders.ConsoleAppender” },
testLog = { class=“coldbox.system.logging.appenders.RollingFileAppender”,
properties={ filePath=expandPath( “/logs” ),
autoExpand=true,
fileMaxArchives=3,
fileMaxSize=2000,
async=false }},
securityLog = { class=“coldbox.system.logging.appenders.RollingFileAppender”,
properties={ filePath=expandPath( “/logs” ),
autoExpand=true,
fileMaxArchives=3,
fileMaxSize=2000,
async=false }}
},
// Root Logger
root = { levelmax=“INFO”, appenders=“testLog” },
categories = { “coldbox.system” = { levelMin=“FATAL”, levelMax=“INFO”, appenders=“testLog” },
“Security.models.*” = { levelMin=“FATAL”, levelMax=“INFO”, appenders=“securityLog” }
}
};

never mind…expandPath…funny this seemed necessary in Lucee but not in CF…still not getting these differences.

When given a path to an existing file, expandPath() may leave it alone, but when given a path to a non-existent file, expandPath may likely attempt to expand it. That may have been the difference.

I think that is correctly what was happening here to explain that difference.