Re: [systemd-devel] why log_set_prohibit_ipc() is set in journald

2021-08-27 Thread Lennart Poettering
On Fr, 27.08.21 17:34, Nishant Nayan (nayan.nishant2...@gmail.com) wrote: > So then where does journald logs its own messages if he wants to? Depends, some of them it logs to the journal itself, via server_driver_message(). But unless explicitly written that way log messages of the journal go to

Re: [systemd-devel] why log_set_prohibit_ipc() is set in journald

2021-08-27 Thread Nishant Nayan
So then where does journald logs its own messages if he wants to? On Fri, 27 Aug 2021, 13:37 Lennart Poettering, wrote: > On Fr, 27.08.21 10:01, Mantas Mikulėnas (graw...@gmail.com) wrote: > > > On Fri, Aug 27, 2021, 08:52 Nishant Nayan > > wrote: > > > > > I have just started to learn journald

Re: [systemd-devel] why log_set_prohibit_ipc() is set in journald

2021-08-27 Thread Lennart Poettering
On Fr, 27.08.21 10:01, Mantas Mikulėnas (graw...@gmail.com) wrote: > On Fri, Aug 27, 2021, 08:52 Nishant Nayan > wrote: > > > I have just started to learn journald and in its main function (in > > journald.c) I encountered a function call "log_set_prohibit_ipc(true);" > > In systemd source, I can

Re: [systemd-devel] why log_set_prohibit_ipc() is set in journald

2021-08-27 Thread Mantas Mikulėnas
On Fri, Aug 27, 2021, 08:52 Nishant Nayan wrote: > I have just started to learn journald and in its main function (in > journald.c) I encountered a function call "log_set_prohibit_ipc(true);" > In systemd source, I can see the declaration in src/basic/log.h:/* > > If turned on, then we'll never u