Add systemd logging to core library