Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

Tech Note 8 - Controlling Curator Logging

Excerpt

Curator logging can be customized.

 Use the following switches via the command line (-D) or via System.setProperty()

SwitchDescription
curator-log-events=trueAll ZooKeeper events will be logged as DEBUG.
curator-dont-log-connection-problems=trueNormally, connection issues are logged as the warning "Connection attempt unsuccessful..." or the error "Connection timed out...". This switch turns these messages off.
curator-log-only-first-connection-issue-as-error-level=trueWhen this switch is enabled, the first connection issue is logged as ERROR. Additional connection issues are logged as DEBUG until the connection is restored.