Gareth
03/15/2025, 2:15 AMGareth
03/15/2025, 4:48 AMBill Nourse
03/17/2025, 3:40 AMjohnbarrett
03/17/2025, 4:20 AMSammy Saeed
03/17/2025, 3:51 PMbrianklaas
03/20/2025, 7:08 PMxByte Ryan
03/21/2025, 7:29 PMtimmixell
03/22/2025, 12:07 PMnet.sf.ehcache
) are logged? I'm running ACF '23 and I have the following in my `cfusion/lib`:
• log4j.properties
• log4j2.properties
• logging.properties
• neo-logging.xml
I'm fairly certain it's log4j2.properties
, but the most I can get is a WARN
when I have my log level set to TRACE
. it's very bizarre to me, but I'm not in Java enough to know definitively what to do. I'd appreciate any insight you all might have. many thanks!BK BK
03/22/2025, 2:06 PMlog4j2.properties
.
• log4j.properties
(and logger.xml
) settings are specific to log4j configuration;
• logging.properties
settings configure ColdFusion's default logging behaviour server-wide;
• neo-logging.xml
settings configure ColdFusion's own loggers;
Using your Ehcache example, you should see the following setting in `log4j2.properties`:
###--------------- Ehcache Log Settings ------
### Set Ehcache log
logger.ehcache =ERROR, CONSOLE
logger.ehcache.name = net.sf.ehcache
That said, it depends where you set the log level. ColdFusion might not log anything if, for example, a third-party Java application has the responsibility for logging Ehcache events.
To see the list of all the loggers of ColdFusion's Java dependencies
1. add the flag -Dlog4j2.debug=true
to the java.args
property in `/bin/jvm.config`;
2. restart ColdFusion 2023;
3. open coldfusion-error.log in an editor and look for lines such as "DEBUG StatusLogger Registering MBean org.apache.logging.log4j2:type=7b676112,component=Loggers,name=xxx"
Jason Dean
03/24/2025, 7:40 PMTim
03/24/2025, 8:42 PMFileReadLine
(with a bit of fancy handling) to process one row, without having to read the whole file into memory first. And then I can parallelize the row processing to speed the whole thing up. This part all works wonderfully.
But now I'm trying to adjust it to handle xlsx files too. My basic plan was to convert the xlsx file to a csv via:
cfspreadsheet(action: "read", src: filePath, format: "csv", name: "local.csvString");
FileWrite(filePath, local.csvString);
and then just pass the CSV file to my previously mentioned code. But what I'm finding is that ColdFusion is throwing an OutOfMemoryError. It's getting caught and logged by my onError function in Application.cfc. But I'm trying to figure out how to catch it before that, and give users a better error message.
Wrapping the cfspreadsheet in a try/catch is not doing the trick. So is there something else I can try? I'm also willing to take ideas on how to more efficiently process these files.Mark Takata (Adobe)
04/08/2025, 5:12 PMJim Priest
04/08/2025, 7:46 PM<https://helpx.adobe.com/coldfusion/kb/coldfusion-2021-updates.html>
Mark Takata (Adobe)
04/08/2025, 8:35 PMcfvonner
04/08/2025, 10:21 PMJim Frankowski
04/09/2025, 5:20 PMMike Greider
04/10/2025, 3:19 PMmithlond
04/10/2025, 4:35 PMAngel Chrystian
04/10/2025, 7:00 PMtonyjunkes
04/14/2025, 4:24 PMPatrick S
04/15/2025, 2:55 PMSlackbot
04/23/2025, 12:47 PMChad Norris
04/23/2025, 5:16 PMalholden
04/24/2025, 9:00 PMalholden
04/24/2025, 9:00 PMalholden
04/24/2025, 11:34 PMKen Wilson
04/25/2025, 3:14 PMAnyone else receive an email this morning with subject "Upcoming ColdFusion update - Pre-release announcement"? The link back to adobe.com goes to the prerelease forum but just says "Discussion Not Found" leaving my cynical mind to question it's legitimacy.
fmdano
04/25/2025, 6:42 PMfmdano
04/28/2025, 11:47 AMMatt Jones
04/29/2025, 1:56 PM