On 27/11/15 15:09, Andrei Borzenkov wrote:
On Fri, Nov 27, 2015 at 5:40 PM, Bob Williams
wrote: On 27/11/15 14:26, Per Jessen wrote:
AFAIK, rsyncd write its own logfile, it doesn't use syslog.
Yes, it writes to /var/log/rsyncd.log. But if that's the case, how does journalctl know when the rsyncd logs begin and end?
What makes you believe it is logs for rsyncd? What does it say for any other unit?
The same for sshd. So there *is* an rsyncd unit, but not very useful for this use case. That's OK. I'll stick with 'tail'.
:~> journalctl -n -u=rsyncd -- Logs begin at Tue 2015-06-02 10:09:55 BST, end at Fri 2015-11-27 13:45:01 GMT. --
Presumably it is getting that information from the rsyncd systemd unit. And if there isn't an rsyncd unit, then it should say so. Or have I misunderstood
-- Bob Williams System: Linux 4.1.12-1-default Distro: openSUSE 42.1 (x86_64) with KDE Development Platform: 4.14.10