• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

Prevent logging ALL http requests in ColdFusion-out.log

Community Beginner ,
Sep 09, 2021 Sep 09, 2021

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.

Views

468

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Sep 09, 2021 Sep 09, 2021

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 09, 2021 Sep 09, 2021

Copy link to clipboard

Copied

@Dave Watts 

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 09, 2021 Sep 09, 2021

Copy link to clipboard

Copied

LATEST

@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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation