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,12 +28,10 @@
 /*        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

@@ -53,11 +51,11 @@
 #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_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 *);