Print this page
13178 ::msgbuf could see more than 8KB of logs
Reviewed by: Andy Fiddaman <Andy@omniosce.org>
Reviewed by: Toomas Soome <tsoome@me.com>

*** 28,39 **** /* All Rights Reserved */ #ifndef _SYS_LOG_H #define _SYS_LOG_H - #pragma ident "%Z%%M% %I% %E% SMI" - #include <sys/types.h> #include <sys/strlog.h> #include <sys/stream.h> #ifdef __cplusplus --- 28,37 ----
*** 53,63 **** #define LOG_MAXPS 1024 /* max packet size */ #define LOG_LOWAT 2048 /* threshold for backenable */ #define LOG_HIWAT 1048576 /* threshold for tossing messages */ #define LOG_MAGIC 0xf00d4109U /* "food for log" - unsent msg magic */ ! #define LOG_RECENTSIZE 8192 /* queue of most recent messages */ #define LOG_MINFREE 4096 /* message cache low water mark */ #define LOG_MAXFREE 8192 /* message cache high water mark */ typedef struct log log_t; typedef int (log_filter_t)(log_t *, log_ctl_t *); --- 51,61 ---- #define LOG_MAXPS 1024 /* max packet size */ #define LOG_LOWAT 2048 /* threshold for backenable */ #define LOG_HIWAT 1048576 /* threshold for tossing messages */ #define LOG_MAGIC 0xf00d4109U /* "food for log" - unsent msg magic */ ! #define LOG_RECENTSIZE 65536 /* queue of most recent messages */ #define LOG_MINFREE 4096 /* message cache low water mark */ #define LOG_MAXFREE 8192 /* message cache high water mark */ typedef struct log log_t; typedef int (log_filter_t)(log_t *, log_ctl_t *);