EnterpriseDB
  • Home
  • Category
    Installation & Getting Started Reference User Guides Quick Start
  • Product
    EDB Backup and Recovery Tool EDB*Plus EDB Postgres Advanced Server EDB Postgres Ark Platform EDB Postgres Cloud Database Service EDB Postgres Connectors EDB Postgres Containers EDB Postgres Enterprise Manager EDB Postgres Failover Manager EDB Postgres Hadoop Data Adapter EDB Postgres JDBC Connector EDB Postgres Language Pack EDB Postgres Migration Portal EDB Postgres Migration Toolkit EDB Postgres .NET Connector EDB Postgres OCL Connector EDB Postgres PgBouncer EDB Postgres Replication Server PostgreSQL pgAdmin 4

EDB Postgres Failover Manager → 2.1.2 → User Guides → User Guide
Other versions of this page: 3.5 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0 · 2.1.2 · 2.0.4 · 2.0.3 · 2.0.2 · 2.0.1 · 2.0

Other Resources

  •  Download Postgres
  •  Free Postgres Training
  •  Webinar: High Availability Strategies for Postgres

Postgres as a Service

Deploy a Managed Postgres Cluster in Minutes! Enterprise-ready and Oracle compatible.

 Try it Now Free

Table of Contents Previous Next


6 Controlling Logging

6 Controlling Logging
Failover Manager writes and stores one log file per agent and one startup log per agent in /var/log/efm-2.1. You can control the level of detail written to the agent log by modifying the jgroups.loglevel and efm.loglevel parameters in the cluster properties file:
# Logging levels for JGroups and EFM.
# Valid values are: FINEST, FINER, FINE, CONFIG, INFO,
# WARNING,SEVERE
# Default value: INFO
# It is not necessary to increase these values unless
# debugging a specific issue. If nodes are not discovering
# each other at startup, increasing the jgroups level to
# FINER will show information about the TCP connection
# attempts that may help diagnose the connection failures.
jgroups.loglevel=INFO
efm.loglevel=INFO
The logging facilities use the Java logging library and logging levels. The log levels (in order from most logging output to least) are:
FINEST
FINER
FINE
CONFIG
INFO
WARNING
SEVERE
For example, if you set the efm.loglevel parameter to WARNING, Failover Manager will only log messages at the WARNING level and above (WARNING and SEVERE).
By default, Failover Manager log files are rotated daily, compressed, and stored for a week. You can modify the file rotation schedule by changing settings in the log rotation file (/etc/logrotate.d/efm-2.1). For more information about modifying the log rotation schedule, consult the logrotate man page:
$ man logrotate

6 Controlling Logging

Table of Contents Previous Next
© 2019 EnterpriseDB Corporation. All rights reserved. | Privacy Policy | Terms of Use | Trademarks