#21 test: circolog binding to /dev/log

Lezárt
megnyitva ekkor: 5 éve boyska által · 2 hozzászólás
boyska hozzászólt 5 éve

we should be able to be the "main" logger on the system. check if it is really possible, and document it

we should be able to be the "main" logger on the system. check if it is really possible, and document it
boyska hozzászólt 5 éve
Tulajdonos

binding to /dev/log kinda works, but I think there is some error involving message formats.

If I send messages with echo $RANDOM|logger (without any options), I have missing fields when I do circolog-tail.

If I use echo $RANDOM|logger --rfc5424, it works fine.

Debug should be done to determine:

  • where the error is (are we decoding a format as another format?)
  • if we can easily improve upon it

PS: of course you need to be sure there is nothing else on your /dev/log. On many systemd-based distro, this means

systemctl stop systemd-journal.service systemd-journal.socket systemd-journald-dev-log.socket
rm '/dev/log'
binding to `/dev/log` kinda works, but I think there is some error involving message formats. If I send messages with `echo $RANDOM|logger` (without any options), I have missing fields when I do `circolog-tail`. If I use `echo $RANDOM|logger --rfc5424`, it works fine. Debug should be done to determine: * where the error is (are we decoding a format as another format?) * if we can easily improve upon it PS: of course you need to be sure there is nothing else on your `/dev/log`. On many systemd-based distro, this means ```sh systemctl stop systemd-journal.service systemd-journal.socket systemd-journald-dev-log.socket rm '/dev/log' ```
boyska hozzászólt 5 éve
Tulajdonos

fixed together with #23

fixed together with #23
boyska lezárta ekkor: 5 éve
Jelentkezzen be hogy csatlakozhasson a beszélgetéshez.
Nincs mérföldkő
Nincs megbízott
1 Résztvevő
Töltés...
Mégse
Mentés
Még nincs tartalom.