Skip to main content
ah_dc
Known Participant
June 6, 2019
Answered

ColdFusion 2018 CFLog

  • June 6, 2019
  • 1 reply
  • 1248 views

Hi,

How can we get cflog files created per day?

Thank you.

This topic has been closed for replies.
Correct answer Dave Watts

I don't think you have any control over the built-in log rolling functionality.

Dave Watts, Eidolon LLC

1 reply

Community Expert
June 6, 2019

If you're using CFLOG to create your own log files, you can specify the exact name of those files, as described here:

https://www.raymondcamden.com/2010/11/29/Ask-a-Jedi-Prevent-ColdFusion-from-deleting-log-files

As for the "built-in" log files, there's no control over the log rolling process as far as I'm aware. So, you might want to use your own log files instead.

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC
ah_dc
ah_dcAuthor
Known Participant
June 6, 2019

Thanks Dave. It is custom log file. As per link, it is suggesting to use cffile. We have this coded for 20 files and I want to avoid modifying this files.

Is there way, I can roll it by size?

Dave WattsCommunity ExpertCorrect answer
Community Expert
June 6, 2019

I don't think you have any control over the built-in log rolling functionality.

Dave Watts, Eidolon LLC

Dave Watts, Eidolon LLC