Question
CFTHREAD terminate get logged as error
When I terminate a thread in this manner to kill runaway
thread:
<cfloop list="#t#" index="i">
<cfif findNoCase('RUNNING', evaluate('#i#.status')) gt 0>
<cfsilent>
<cfthread action="terminate" name="#i#" />
</cfsilent>
</cfif>
</cfloop>
Each thread that is terminated gets logged in the application log of the CF administrator with the following value:
myThread34940: null
How do I keep this from getting logged? Why does CF look at these as application errors?
<cfloop list="#t#" index="i">
<cfif findNoCase('RUNNING', evaluate('#i#.status')) gt 0>
<cfsilent>
<cfthread action="terminate" name="#i#" />
</cfsilent>
</cfif>
</cfloop>
Each thread that is terminated gets logged in the application log of the CF administrator with the following value:
myThread34940: null
How do I keep this from getting logged? Why does CF look at these as application errors?
