mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
syslogd: Enable repeated line compression for lines of any length.
Enable repeated line compression for lines of any length, instead of only short lines. AFAICT repeated line compression was limited to short lines as a RAM optimization, which made sense when karels added it in 1988, but no longer. The penalty is a paltry 904B of RAM per file logged. Reviewed by: rpaulo MFC after: 32 days Sponsored by: Spectra Logic Corp Differential Revision: https://reviews.freebsd.org/D4475
This commit is contained in:
parent
eaae77f810
commit
f32e43a6a8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=294924
@ -69,7 +69,7 @@ __FBSDID("$FreeBSD$");
|
||||
*/
|
||||
|
||||
#define MAXLINE 1024 /* maximum line length */
|
||||
#define MAXSVLINE 120 /* maximum saved line length */
|
||||
#define MAXSVLINE MAXLINE /* maximum saved line length */
|
||||
#define DEFUPRI (LOG_USER|LOG_NOTICE)
|
||||
#define DEFSPRI (LOG_KERN|LOG_CRIT)
|
||||
#define TIMERINTVL 30 /* interval for checking flush, mark */
|
||||
|
Loading…
Reference in New Issue
Block a user