why log_set_prohibit_ipc() is set in journald

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 use IPC-based logging, * i.e. never log to syslog or the journal. We'll only * log to stderr, the console or kmsg */void log_set_prohibit_ipc(bool b);

I did not get this because Journald not writing to journal itself by default is strange, isn't it?
What is the reason behind it?


Nishant

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux