foundeo
Mike Greider
03/06/2025, 2:54 AMBrian Lang
03/10/2025, 4:06 PMBrian Lang
03/10/2025, 4:47 PMPatrick
03/10/2025, 4:50 PMBrian Lang
03/10/2025, 4:53 PMsharondio
03/10/2025, 4:53 PMBrian Lang
03/10/2025, 4:54 PMsharondio
03/10/2025, 4:58 PMBrian Lang
03/10/2025, 5:00 PMsharondio
03/10/2025, 5:00 PMBrian Lang
03/10/2025, 5:00 PMsharondio
03/10/2025, 5:01 PMBrian Lang
03/10/2025, 5:02 PMsharondio
03/10/2025, 5:07 PMsharondio
03/10/2025, 5:08 PMPatrick S
03/10/2025, 5:08 PMbockensm
03/12/2025, 9:05 PMwriteOutput( val("") ? "yes" : "no" )
to be? I'm getting "yes" in CF2025 and "no" in all past versions.cenril
03/13/2025, 8:36 PMcenril
03/13/2025, 8:54 PMReuben Brown
03/14/2025, 1:45 AMGareth
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"