Skip to content

Commit c3a9f12

Browse files
committed
bump docs
1 parent a5964e4 commit c3a9f12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/advanced.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Custom logging
103103
104104
We forward all logs (i.e. from :mod:`logging` and :mod:`sys.stdout`/:mod:`sys.stderr`) from workers and agents to the launcher. By default, the logs from the first agent and its first worker are printed into the launcher's ``stdout`` stream. Logs from all agents and workers are written to files in ``$TORCHRUNX_LOG_DIR`` (default: ``./torchrunx_logs``) and are named by timestamp, hostname, and local_rank.
105105
106-
:mod:`logging.Handler` objects can be provided via the ``log_handlers_builder`` argument to provide further customization (mapping specific agents/workers to custom output streams). You must pass a function that returns a list of :mod:`logging.Handler`s to ``log_handlers_builder``.
106+
:mod:`logging.Handler` objects can be provided via the ``handler_factory`` argument to provide further customization (mapping specific agents/workers to custom output streams). You must pass a function that returns a list of :mod:`logging.Handler`s to ``handler_factory``.
107107
108108
We provide some utilities to help:
109109

0 commit comments

Comments
 (0)