Add systemd journal support. #214

Merged
merged 1 commit into from May 6, 2016

Projects

None yet

3 participants

@tohojo
Contributor
tohojo commented Feb 16, 2016

This adds support for reading log entries from the Systemd journal. A
new command, called simply 'journal', is added which takes a number of
lines as a parameter and optionally which journal (user or system) to
read from.

Obviously, libsystemd is required to build journal support. Tested on
Arch Linux (Systemd v228).

Signed-off-by: Toke Høiland-Jørgensen toke@toke.dk

@Nooby4Ever
Contributor

You forgot to update the vim and nano syntax, new keywords should be added here:

/extras/nano/conky.nanorc
/extras/vim/syntax/conkyrc.vim
@tohojo
Contributor
tohojo commented May 4, 2016

Right; updated :)

@tohojo tohojo Add systemd journal support.
This adds support for reading log entries from the Systemd journal. A
new command, called simply 'journal', is added which takes a number of
lines as a parameter and optionally which journal (user or system) to
read from.

Obviously, libsystemd is required to build journal support. Tested on
Arch Linux (Systemd v229).

Signed-off-by: Toke Høiland-Jørgensen <toke@toke.dk>
d5fe455
@brndnmtthws brndnmtthws merged commit 0db823e into brndnmtthws:master May 6, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@tohojo tohojo deleted the tohojo:systemd-journal branch May 6, 2016
@tohojo
Contributor
tohojo commented May 6, 2016

Awesome, thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment