Copy link to clipboard
Copied
Hello community, we have found today a very large isapi_redirect.log file under the C:\Coldfusion11\config\wsconfig\ folder.
Does anyone know where can I set either the size or duration of the file?
Thank you.
Hi,
If the size of the isapi_redirect.log is large, it could be a possibility that the verbose is enabled.
Go to this location: C:\ColdFusion11\config\wsconfig\{magic_number}
Take the back up of isapi_redirect.properties and open the properties file and check if the "log_level" is set to debug. If it is set to debug, you have to change it to "info".
Example.
extension_uri= /jakarta/isapi_redirect.dll
log_file= C:\ColdFusion11\config\wsconfig\1\isapi_redirect.log
log_level= info
worker_file= C:\ColdFusi
...Dani, there's a bit more you should consider:
First, to your question to Priyank, no, it would not. But if you renamed the log file, while cf and iis were down, then when they were restarted a new log would be created.
Second, while I agree that you should check the log level, if it's already set to info, you should assess what is in the file in recent minutes, hours, and days. If there are errors you'll want to address them.
Third, you had asked also if there is a way to control the size. There
...Copy link to clipboard
Copied
Hi,
If the size of the isapi_redirect.log is large, it could be a possibility that the verbose is enabled.
Go to this location: C:\ColdFusion11\config\wsconfig\{magic_number}
Take the back up of isapi_redirect.properties and open the properties file and check if the "log_level" is set to debug. If it is set to debug, you have to change it to "info".
Example.
extension_uri= /jakarta/isapi_redirect.dll
log_file= C:\ColdFusion11\config\wsconfig\1\isapi_redirect.log
log_level= info
worker_file= C:\ColdFusion11\config\wsconfig\1\workers.properties
worker_mount_file= C:\ColdFusion11\config\wsconfig\1\uriworkermap.properties
iis_buffer_enable= true
auth_complete= 1
iis_skip_custom_errors_enable= false
Restart the IIS after making the change.
Thanks,
Priyank
Copy link to clipboard
Copied
Thank you very much Priyank!
Question: by changing this setting will the file resize itself or the fact we restart the IIS will create a file from scratch?
Thank you again
Copy link to clipboard
Copied
Hi,
You can move the file to a different location and it will create a new file upon restart.
Thanks,
Priyank
Copy link to clipboard
Copied
Dani, there's a bit more you should consider:
First, to your question to Priyank, no, it would not. But if you renamed the log file, while cf and iis were down, then when they were restarted a new log would be created.
Second, while I agree that you should check the log level, if it's already set to info, you should assess what is in the file in recent minutes, hours, and days. If there are errors you'll want to address them.
Third, you had asked also if there is a way to control the size. There is indeed, as another line you could set in that properties file, log_filesize, which will rotate the files when they reach that size. Or you can instead set them to rotate based on time with log_rotationtime.
For more on these and still other directives see the Tomcat directives at:
(To be clear, CFs web connector is indeed the Tomcat web connector and recent CF versions and updates do use a connector whose version is 1.2.something--depending on the cf version and update levek, so these are indeed the docs for us to follow.)
Copy link to clipboard
Copied
Thank you Charlie and Priyank for your help.
Charlie, probably it contains many errors from the previous issues we were having in the last two weeks, which were or are being addressed.
Thank you for all the support you provide to the CF community constantly.
Copy link to clipboard
Copied
Thanks for the kind regards, and shout out to Priyank also for so often jumping in as well! 🙂
Copy link to clipboard
Copied
Yes, I meant to write "you both". Sorry Priyank!
Can I mark both answers as correct?
Copy link to clipboard
Copied
Sadly, no. It is unfortunate that it has that limitation, but it is what it is. 😞 Thanks for considering it, though.
Perhaps it will get noticed if/as more people may at least "like" my reply, but if nothing else it's there for those who may read on. 🙂
Glad things got sorted out for you.