16
In Lucee/Railo you can use cflog in script by removing the angular brackets and the "cf" prefix, so you can write
<cfscript>
log text="some text" file="logfilename" type="information";
</cfscript>
this is equivalent to
<cflog text="some text" file="logfilename" type="information">