python -systemd has a JournalHandler you can use with the logging framework. From the documentation: import logging from systemd.journal ...
確定! 回上一頁