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

isapi_redirect.log file too big

Participant ,
Apr 01, 2019 Apr 01, 2019

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.

Views

3.5K

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

correct answers 2 Correct answers

Adobe Employee , Apr 01, 2019 Apr 01, 2019

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

...

Votes

Translate

Translate
Community Expert , Apr 01, 2019 Apr 01, 2019

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

...

Votes

Translate

Translate
Adobe Employee ,
Apr 01, 2019 Apr 01, 2019

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

Thanks,
Priyank Shrivastava

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
Participant ,
Apr 01, 2019 Apr 01, 2019

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

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
Adobe Employee ,
Apr 01, 2019 Apr 01, 2019

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

Thanks,
Priyank Shrivastava

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 Expert ,
Apr 01, 2019 Apr 01, 2019

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:

The Apache Tomcat Connectors - Reference Guide (1.2.x) - Configuring the ISAPI redirector for Micros...

(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.)


/Charlie (troubleshooter, carehart.org)

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
Participant ,
Apr 01, 2019 Apr 01, 2019

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.

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 Expert ,
Apr 01, 2019 Apr 01, 2019

Copy link to clipboard

Copied

Thanks for the kind regards, and shout out to Priyank also for so often jumping in as well! 🙂


/Charlie (troubleshooter, carehart.org)

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
Participant ,
Apr 01, 2019 Apr 01, 2019

Copy link to clipboard

Copied

Yes, I meant to write "you both". Sorry Priyank!

Can I mark both answers as correct?

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 Expert ,
Apr 03, 2019 Apr 03, 2019

Copy link to clipboard

Copied

LATEST

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.


/Charlie (troubleshooter, carehart.org)

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