1SET_AUMESSAGE_MODE(3) Linux Programmer's Manual SET_AUMESSAGE_MODE(3)
2
3
4
6 set_aumessage_mode - Sets the message mode
7
9 #include <libaudit.h>
10
11
12 void set_aumessage_mode(message_t mode, debug_message_t debug);
13
14
16 set_aumessage_mode sets the location where messages are sent and the
17 output of the debug messages.
18
19 If mode=MSG_STDERR, then messages are sent to stderr. If mode=MSG_SYS‐
20 LOG, then messages are sent to syslog. If mode=MSG_QUIET (default),
21 then messages are not sent.
22
23 If debug=DBG_YES, then debug messages are output. If debug=DBG_NO (de‐
24 fault), then debug messages are not output.
25
26
28 /* Sample code */
29 set_aumessage_mode(MSG_SYSLOG, DBG_YES)
30
31
32
34 None.
35
36
38 auditd(8), audit_open(3).
39
40
42 Debora Velarde.
43
44
45
46Linux 2.6 2004-12-01 SET_AUMESSAGE_MODE(3)