You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2024-08-26 09:04:35,004 WARNING: User creation via "bootstrap.users" will be removed in v4.0.0
58
-
2024-08-26 09:04:35,009 WARNING: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog'
59
58
2024-08-26 09:04:35,189 INFO: initialized a new cluster
60
59
2024-08-26 09:04:35,328 INFO: no action. I am (patroni1), the leader with the lock
61
60
2024-08-26 09:04:43,824 INFO: establishing a new patroni restapi connection to postgres
2024-08-26 08:21:19.048 UTC [53] LOG: starting maintenance daemon on database 16385 user 10
174
173
2024-08-26 08:21:19.048 UTC [53] CONTEXT: Citus maintenance daemon for database 16385 user 10
175
-
2024-08-26 08:21:19,058 WARNING: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog'
174
+
2024-08-26 08:21:19,058 DEBUG: Could not activate Linux watchdog device: Can't open watchdog device: [Errno 2] No such file or directory: '/dev/watchdog'
176
175
2024-08-26 08:21:19.250 UTC [37] LOG: checkpoint starting: immediate force wait
177
176
2024-08-26 08:21:19,275 INFO: initialized a new cluster
178
177
2024-08-26 08:21:22.946 UTC [37] LOG: checkpoint starting: immediate force wait
@@ -268,47 +267,47 @@ Example session:
268
267
citus=# \q
269
268
270
269
postgres@haproxy:~$ patronictl list
271
-
+ Citus cluster: demo ----------+----------------+-----------+----+-----------+
272
-
| Group | Member | Host | Role | State | TL | Lag in MB |
Copy file name to clipboardExpand all lines: docs/ENVIRONMENT.rst
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,10 @@ Log
32
32
- **PATRONI\_LOG\_FILE\_NUM**: The number of application logs to retain.
33
33
- **PATRONI\_LOG\_FILE\_SIZE**: Size of patroni.log file (in bytes) that triggers a log rolling.
34
34
- **PATRONI\_LOG\_LOGGERS**: Redefine logging level per python module. Example ``PATRONI_LOG_LOGGERS="{patroni.postmaster: WARNING, urllib3: DEBUG}"``
35
+
- **PATRONI\_LOG\_DEDUPLICATE\_HEARTBEAT\_LOGS**: If set to ``true``, successive heartbeat logs that are identical shall not be output. Default value is ``false``.
36
+
37
+
.. warning::
38
+
The time the HA loop executes at can be very valuable information in diagnosing failovers due to resource exhaustion and similar problems. When ``PATRONI_LOG_DEDUPLICATE_HEARTBEAT_LOGS`` is set to ``true`` there will be no log generated for the HA loop execution (unless the leader changes) and hence this potentially useful information will not be available from the logs.
0 commit comments