#21 test: circolog binding to /dev/log

Uzavrená
otvorené 5 rokov pred užívateľom boyska · 2 komentárov
boyska okomentoval 5 rokov pred

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 okomentoval 5 rokov pred
Vlastník

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 okomentoval 5 rokov pred
Vlastník

fixed together with #23

fixed together with #23
boyska zatvorené 5 rokov pred
Prihláste sa pre zapojenie do konverzácie.
Žiadny míľnik
Žiadny priradený
1 účastníkov
Načítavanie...
Zrušiť
Uložiť
Zatiaľ neexistuje žiadny obsah.