I am playing around with journalctl and getting used to the whole systemd setup, but having a hard time defining what it is actually doing...
this site (https://www.loggly.com/ultimate-guide/using-journalctl/) says that journalctl is displaying messages from "the journal" but I can't search and find an answer to what "the journal" actually is.
what is "the journal?"
and...
- does journalctl eliminate the need to keep separate logs for everything?
- If I was to write a daemon, how can I make sure that it writes messages into "the journal" without then also writing them to a logfile for the daemon...is this possible? (I ask this because I seem to have an application
statsd
that does just this... there is no logfile but I can pull up its "journal" withjournalctl -u statsd.service
)