ctc-oss / fapolicy-analyzer

Tools to assist with the configuration and management of fapolicyd.
https://ctc-oss.github.io/fapolicy-analyzer
GNU General Public License v3.0
12 stars 5 forks source link

Improve Rust logging #807

Closed jw3 closed 1 year ago

jw3 commented 1 year ago

Tie into the logging configuration created in #668.

Use the Rust log crate as the logging facade.

Use pyo3-log to bridge into the Python logging impl.

jw3 commented 1 year ago

There is a version incompatibility that impacts our Fedora builds.

Pyo3 0.15 will not work with the 0.7 version of pyo3-log Fedora has published.

jw3 commented 1 year ago

Discussed this on bz and it has been updated to 0.8.1 which resolves all compat issues.

jw3 commented 1 year ago

Tested the release to bump to stable

https://bodhi.fedoraproject.org/updates/FEDORA-2023-0cae3a903d

Fedora 38 is going to be a problem, its froze for a bit yet.