I've been trying to debug this for hours and at this point I'm about to throw my laptop out of a window.
​
I have consul installed on a host. If I ssh into that host and:
sudo journalctl -u consul
I'll get a bunch of log output. When I'm messing around with consul, the log output at startup is super helpful to capture, so I'd love to have this in an org document, captured with org-babel and tramp.
seems easy, but here is what I get as output:
#+BEGIN_SRC sh :async t :dir /ssh:moogah@hl1.local|sudo::
pwd
whoami
journalctl -u consul --no-tail --no-page
echo "DONE"
#+END_SRC
#+RESULTS:
if I skip the journalctl, this is what I get:
#+BEGIN_SRC sh :async t :dir /ssh:moogah@hl1.local|sudo::
pwd
whoami
echo "DONE"
#+END_SRC
#+RESULTS:
| /root |
| root |
| DONE |
So.. what's the issue with journalctl??