DOKK / manpages / debian 10 / libaudit-dev / set_aumessage_mode.3.en
SET_MESSAGE_MODE(3) Linux Programmer's Manual SET_MESSAGE_MODE(3)

set_message_mode - Sets the message mode

#include <libaudit.h>

void set_message_mode (message_t mode);

set_message_mode sets the location where informational messages are sent. If mode=0 (default), then informational messages are sent to stderr. If mode=1, then informational messages are sent to syslog.

/* Sample code */
set_message_mode(MSG_SYSLOG)

auditd(8), audit_open(3).

Debora Velarde.

2004-12-01 Linux 2.6