Maintenance Notice - PDF Generation
Dynamic PDF generation for web-based content is temporarily unavailable. This maintenance affects dynamic PDF files that are generated from either the HTML-based page or manual that you are viewing. Links that normally allow this functionality have been hidden, and will reappear as soon as the feature is restored.


Note: Access to static files, including PDF files that are not dynamically generated from our web-based content, is unaffected.

Jump to: navigation, search

Cassandra and Elasticsearch Indexes

Tune Logging with Cassandra Running as a Windows Service

By default, the Cassandra Windows service sends stdout to a file, as you can see if you examine the StdOutput and StdError settings in the cassandra.bat and cassandra.ps1 files (since the auto setting indicates that the output should be sent to a file):

‐‐StdOutput auto ‐‐StdError auto

When you install Cassandra as a Windows service, these settings are loaded in the Windows registry under this key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\cassandra\parameters\Log]

To disable file-based logging, you can carry out either of the following procedures.

Modifying the Windows Service

  1. Uninstall the Cassandra Windows service.
  2. Specify empty values for the StdOutput and StdError parameters in the cassandra.bat or cassandra.ps1 file.
  3. Reinstall the Cassandra Windows service.

Editing the Registry

  1. Open the Windows Registry Editor
  2. Open the appropriate settings under the [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\cassandra\parameters\Log] key.
Gwe-cassandra log settings.png
  1. Specify empty values for the StdOutput and StdError parameters.
This page was last edited on May 18, 2018, at 14:55.

Feedback

Comment on this article:

blog comments powered by Disqus