Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 454

BUG : when using tag

$
0
0

When using the following code in a CFM file.
The log message is NOT written the correct file.

<cfset logFileName = "myLogFile">
<cflog
    type = "Information"
    file = logFileName
    text = "This is my log message"
/>

Expected : “This is my log message” is written to a file named, myLogFile.log
Actual : the message is written to logFileName.log

The expected “swap” of the variable name - works as expected in cfscript.

Don’t forget to tell us about your stack!

OS: AWS Linux 2 (CentOS)
Java Version: 11.Latest
Tomcat Version: 9.Something
Lucee Version: 5.4.4.38

4 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 454

Trending Articles