устанавливает режим сообщения (Sets the message mode)
Имя (Name)
set_aumessage_mode - Sets the message mode
Синопсис (Synopsis)
#include <libaudit.h>
void set_aumessage_mode
(message_t mode, debug_message_t debug);
Описание (Description)
set_aumessage_mode
sets the location where messages are sent and
the output of the debug messages.
If mode=MSG_STDERR, then messages are sent to stderr. If
mode=MSG_SYSLOG, then messages are sent to syslog. If
mode=MSG_QUIET (default), then messages are not sent.
If debug=DBG_YES, then debug messages are output. If debug=DBG_NO
(default), then debug messages are not output.
Примеры (Examples)
/* Sample code */
set_aumessage_mode(MSG_SYSLOG, DBG_YES)
Возвращаемое значение (Return value)
None.
Смотри также (See also)
auditd(8), audit_open(3).