Skip to content

Commit 60fa61d

Browse files
popo63301José Valim
authored andcommitted
Update release.ex doc - watch log file (#9690)
1 parent a5df6a5 commit 60fa61d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/mix/lib/mix/tasks/release.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ defmodule Mix.Tasks.Release do
175175
of crashes. See the generated `releases/RELEASE_VSN/env.sh` file.
176176
177177
The daemon will write all of its standard output to the "tmp/log/"
178-
directory in the release root. A developer can also attach
178+
directory in the release root. You can watch the log file by doing
179+
`tail -f tmp/log/erlang.log.1` or similar. Once files get too large,
180+
the index suffix will be incremented. A developer can also attach
179181
to the standard input of the daemon by invoking "to_erl tmp/pipe/"
180182
from the release root. However, note that attaching to the system
181183
should be done with extreme care, since the usual commands for

0 commit comments

Comments
 (0)