Re: [systemd-devel] systemctl logs to journal/kmsg intended?

2023-06-21 Thread Christopher Wong
16:41 Till: Christopher Wong Kopia: systemd-devel@lists.freedesktop.org ; Felix Nilsson Ämne: Re: [systemd-devel] systemctl logs to journal/kmsg intended? On Di, 20.06.23 07:53, Christopher Wong (christopher.w...@axis.com) wrote: > Hi, > > Is it intended that systemctl should send log

Re: [systemd-devel] systemctl logs to journal/kmsg intended?

2023-06-20 Thread Lennart Poettering
On Di, 20.06.23 07:53, Christopher Wong (christopher.w...@axis.com) wrote: > Hi, > > Is it intended that systemctl should send log messages to the > journal and kmsg with this patch? Because previously it was only > writing to console. Nope. log_setup() doesn't do this, unless $SYSTEMD_LOG_TARGET

[systemd-devel] systemctl logs to journal/kmsg intended?

2023-06-20 Thread Christopher Wong
Hi, Is it intended that systemctl should send log messages to the journal and kmsg with this patch? Because previously it was only writing to console. commit 158fdd5326a750fe01fcaa76ac4a56fe197cf1aa Author: Yu Watanabe watanabe.yu+git...@gmail.com Date: Th