Welcome to the Alteryx Knowledge Base
How To: Enable MongoDB logs in RuntimeSettings.xml
Created/Edited -
How To
Enable MongoDB logs in RuntimeSettings.xml
When troubleshooting Server/Gallery issues, it can be useful to gather logs to determine whether the issue lies with your MongoDB. These steps will show you how to enable Mongo logging.
Environment
- Alteryx Server
- Embedded MongoDB
Prerequisites
- Administrative Rights
Procedure
- ALWAYS BACK UP FIRST. Make sure to make a copy of your RuntimeSettings.xml as well as your MongoDB. See this article for Backup & Recovery Best Practices
- Stop your Alteryx Service
- Open File Explorer and navigate to %PROGRAMDATA%\Alteryx
- Open RuntimeSettings.xml in a text editor
- Under the Controller section add EmbeddedMongoDBLogPath as a key
- Add a directory as the value with .txt file extension.
- **OPTIONAL If you would like to have the logs with increased verbosity**
- Under the Controller section add EmbeddedMongoDBArguments as a key
- Add --vv as the value
- Under the Controller section add EmbeddedMongoDBArguments as a key
- Start your Alteryx Service and Mongo logs should be generating
Additional Information
Was this article helpful?