Description: Route conf2 system service logs to the journal The service runs under systemd, so let its logging stream be captured by journald instead of writing a runtime log below /etc. Author: zhangpan Bug-Debian: https://bugs.debian.org/1141864 Forwarded: no Last-Update: 2026-07-14 --- a/src/conf2/service/conf2-system.py +++ b/src/conf2/service/conf2-system.py @@ -243,7 +243,6 @@ class KYSettingsDBusService(dbus.service if __name__ == "__main__": - os.makedirs('/etc/kylin-config', exist_ok=True) - logging.basicConfig(filename='/etc/kylin-config/systembus.log', + logging.basicConfig( level=logging.DEBUG, format='%(asctime)s.%(msecs)03d - %(name)s - %(levelname)s - %(message)s', datefmt='%Y-%m-%d %H:%M:%S')