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
Configuring ``failover.log.to`` and ``failover.log.file`` parameters is available in the `Enterprise Edition <https://www.tarantool.io/compare/>`_ only.
1668
+
1669
+
Define a location Tarantool sends failover logs.
1670
+
This option accepts the following values:
1671
+
1672
+
* ``stderr``: write logs to the standard error stream.
1673
+
* ``file``: write logs to a file (see :ref:`failover.log.file <configuration_reference_failover_log_file>`).
1674
+
1675
+
|
1676
+
|Type: string
1677
+
|Default: 'stderr'
1678
+
|Environment variable: TT_FAILOVER_LOG_TO
1679
+
1680
+
1681
+
.. _configuration_reference_failover_log_file:
1682
+
1683
+
.. confval:: failover.log.file
1684
+
1685
+
**Since:** :doc:`3.3.0 </release/3.3.0>`
1686
+
1687
+
Specify a file for failover logs destination.
1688
+
To write logs to a file, you need to set :ref:`failover.log.to <configuration_reference_failover_log_to>` to ``file``.
1689
+
Otherwise, ``failover.log.file`` is ignored.
1690
+
1691
+
**Example**
1692
+
1693
+
The example below shows how to write failover logs to a file placed in the specified directory:
0 commit comments