ALTERYX INSPIRE | Join us this May for for a multi-day virtual analytics + data science experience like no other! Register Now
2 Day Countdown - The Alteryx Community will be temporarily unavailable for a few hours due to scheduled maintenance starting on Thursday, April 22nd at 5pm MDT. Please plan accordingly.

Alteryx Server Knowledge Base

Definitive answers from Server experts.

How To: Disable MongoDB logs in RuntimeSettings.xml

JohnGD
Alteryx
Alteryx
Created

How To: Disable MongoDB logs in RuntimeSettings.xml

After having used MongoDB logging for troubleshooting purposes, you can now safely turn it off using this guide. Especially if you are mindful of the disk space they take on the server machine.

 

Prerequisites

  • Alteryx Server
  • Embedded MongoDB
  • Administrative Rights
  • MongoDB logging previously enabled
 

Procedure

  1. The first step consists in backing up the below for safety purposes:
    • Create a copy of the RuntimeSettings.xml file located under %PROGRAMDATA%\Alteryx on the Alteryx Server
    • Follow the "Create a MongoDB Backup" procedure to save a recent copy of your Alteryx Server's data
  2. Stop your Alteryx Service
  3. Open File Explorer and navigate to %PROGRAMDATA%\Alteryx
  4. Open RuntimeSettings.xml in a text editor
  5. Under the you should locate the two child nodes  and :
  6. To disable this feature, you can either:
    • Totally remove the two nodes or
    • Comment them (surround them with ) so they are not taken in account:

      •  
  7. Save the changes and start Alteryx Service
  8. There will be no MongoDB log generated anymore

 

Additional Resources