#6067 (Replace Lino log server by a system logger)
by Luc Saffre · in Developers · assigned to Luc Saffre
Kurzbeschreibung
The server admin should be able to easily switch different logging options, especially add options for trstringer.com/systemd-logging-in-python/ ">systemd log server or syslog instead of running our own log server in linod.
Kinder
Kommentare
- 1 Jahr, 5 Monate ago von Luc Saffre about #6067 (Replace Lino log server by a system logger) : The test suite passes, and no problems after releasing this to bombur: we can consider this ticket as done.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6067 (Replace Lino log server by a system logger) : While documenting my changes I also removed the 'logger_ok' key and the test for existing logging.root.handlers because I don't understand their purpose. I plan to test this on bombur when the local test suite passes.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6067 (Replace Lino log server by a system logger) : I adapted getlino.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6067 (Replace Lino log server by a system logger) : It seems to be working well on bombur. Here is how to adapt other servers after the upgrade: "sudo apt install libsystemd-dev" and "pip install systemd-python", and don't forget to remove log directories.
- 1 Jahr, 5 Monate ago von Luc Saffre about #6067 (Replace Lino log server by a system logger) : The test suite passed and I pushed my changes to GL and will now pull them on bombur in order to test them on the field. TODO: adapt getlino
- 1 Jahr, 5 Monate ago von Luc Saffre about #6067 (Replace Lino log server by a system logger) : I'm testing a quite dangerous set of changes: I completely removed the Lino logger from linod. To enable logging to the systemd journal (which will be the recommended method on a production server), you must simply install the systemd-python package (which requires a system package because it's not ...
- 1 Jahr, 5 Monate ago von Luc Saffre about #6067 (Replace Lino log server by a system logger) : Created new Ticket #6067 (Replace Lino log server by a system logger).