Copy link to clipboard
Copied
Our applications make a good number of external API calls using <cfhttp>. I noticed that EVERY http call is logged in ColdFusion-out.log and based on how many calls we make the log files are in the GB range.
Our ColdFusion-out.log is filled with millions of records that nobody looks at and I would like to stop
logging this data and creating enourmous log files. Any help would be greatly appreciated.
Copy link to clipboard
Copied
I don't think you can prevent CF writing to the log files. But you can control how frequently CF rolls those logs.
https://community.adobe.com/t5/coldfusion-discussions/coldfusion-2018-cflog/td-p/10482447
Who knows, maybe I'm wrong about the first thing too. It clearly wouldn't be the first time I was wrong.
Dave Watts, Eidolon LLC
Copy link to clipboard
Copied
What's interesting, for ColdFusion-out.log it doesn't seem to honor the "Maximum file size" setting in the CF admin. We probabaly left ours at the default of 5000 but our ColdFusion-out.log files are in the GB on a daily basis.
Copy link to clipboard
Copied
@Dave Watts disregard the above statement, the server in question that's "NOT" honoring the max file size has corrupt archive log files which likely can't be overwritten. Also problaby the reason why our primary log file (coldfusion-out.log) is growing so large.