Skip to content

Commit 8b582d4

Browse files
author
Tim Allen
committed
docs(docs/managing_deis/platform_logging): change example to prefer tcp/tls
Prefer tcp+tls over udp for log forwarding b/c of long lines.
1 parent 38c9379 commit 8b582d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/managing_deis/platform_logging.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ and port provided to me by Papertrail:
2626

2727
.. code-block:: console
2828
29-
$ journalctl -o short -f | ncat --udp logs2.papertrailapp.com 23654
29+
$ journalctl -o short -f | ncat --ssl logs2.papertrailapp.com 23654
3030
3131
This is really only useful when shipped as a service that we don't have to run ourselves in
3232
a shell. We can use a fleet service for this:
@@ -37,7 +37,7 @@ a shell. We can use a fleet service for this:
3737
Description=Log forwarder
3838
3939
[Service]
40-
ExecStart=/bin/sh -c "journalctl -o short -f | ncat --udp logs2.papertrailapp.com 23654"
40+
ExecStart=/bin/sh -c "journalctl -o short -f | ncat --ssl logs2.papertrailapp.com 23654"
4141
4242
[Install]
4343
WantedBy=multi-user.target

0 commit comments

Comments
 (0)