FerryDocs

Runtime logs

The runtime log is what the containers of a service write while they run.

Edit on GitHub
Instance0b4e81Instance3f2a1cDockerkeeps the linesferry logs apiin order of time

Ferry reads the from Docker. It puts the lines of all of the live deploy together, in the order of their .

Read the log

Terminal
ferry logs api                # everything the current containers have written
ferry logs api -n 100         # the last 100 lines of each instance
ferry logs api -f             # follow new lines
ferry logs echo -n 2
09:41:26 [0b4e81] 172.21.0.4 - - [27/Sep/2026 07:41:26] "GET / HTTP/1.1" 200 -
09:41:31 [0b4e81] 172.21.0.4 - - [27/Sep/2026 07:41:31] "GET / HTTP/1.1" 200 -

The id in brackets is the instance. It is the end of the name of the container.

ferry logs lists all the options.

Ferry does not keep runtime logs

When a deploy replaces the containers, their logs go with them. The same occurs when Ferry removes a crashed container. If you must keep logs, make your app send them to an external log service.

On this page