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