mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-31 14:25:15 +00:00
Add support for mailing eventlog entries and for logging raw messages.
These will be used by the sudoers plugin.
This commit is contained in:
@@ -46,16 +46,6 @@
|
||||
#define SLOG_NO_LOG 0x20 /* do not log via file or syslog */
|
||||
#define SLOG_AUDIT 0x40 /* send message to audit as well */
|
||||
|
||||
/*
|
||||
* Maximum number of characters to log per entry. The syslogger
|
||||
* will log this much, after that, it truncates the log line.
|
||||
* We need this here to make sure that we continue with another
|
||||
* syslog(3) call if the internal buffer is more than 1023 characters.
|
||||
*/
|
||||
#ifndef MAXSYSLOGLEN
|
||||
# define MAXSYSLOGLEN 960
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Indentation level for file-based logs when word wrap is enabled.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user