Date: Mon, 15 May 2017 11:24:12 -0700 From: "Ngie Cooper (yaneurabeya)" <yaneurabeya@gmail.com> To: Ian Lepore <ian@FreeBSD.org> Cc: John Baldwin <jhb@freebsd.org>, Warner Losh <imp@bsdimp.com>, "Rodney W. Grimes" <rgrimes@freebsd.org>, Ngie Cooper <ngie@freebsd.org>, src-committers <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org> Subject: Re: svn commit: r318250 - in head: etc etc/newsyslog.conf.d etc/syslog.d tools/build/mk Message-ID: <60A3FDE1-F68E-49D5-972F-A0C8993E0FEE@gmail.com> In-Reply-To: <0B1B76CF-9CC4-422B-8356-AE425413850B@gmail.com> References: <201705131537.v4DFbgWV045290@pdx.rh.CN85.dnsmgr.net> <E92037DB-3739-4BA9-BC96-A50855F19B04@gmail.com> <CANCZdfpmcfU9YCxgZ%2Bi3AnPW77TPk1MRu2msWJ4t-rPE90SCiw@mail.gmail.com> <2229085.lB46rKsq7o@ralph.baldwin.cx> <1494870201.59865.103.camel@freebsd.org> <0B1B76CF-9CC4-422B-8356-AE425413850B@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] > On May 15, 2017, at 10:47, Ngie Cooper (yaneurabeya) <yaneurabeya@gmail.com> wrote: > > >> On May 15, 2017, at 10:43, Ian Lepore <ian@FreeBSD.org> wrote: > > … > >> That's only a good argument for keeping the lines in the monolithic >> file if those lines will be ignored when a file in the .conf.d >> directory provides conflicting config. Otherwise my embedded product >> that drops different rules for rotating /var/log/messages into .conf.d >> STILL has to programmatically edit the monolithic file to remove the >> standard rule(s). > > Bingo. This is part of the reason why I did this, apart from being selfish in not wanting to handle a handful of unnecessary entries in newsyslog/syslogd on all of my systems where I set these knobs to no. > Literally all I did was `dd+p` in vim in the new files. I didn’t add or subtract any overall entries. And for context, we (Isilon) run newsyslog more frequently than upstream (sometimes every couple minutes, sometimes multiple times an hour/day), attributing to unnecessary creation and modification of log files (like this) that we (Isilon) don’t care about at all, which causes other potential issues with root media wear, potential for filesystem corruption, reduced number of available inodes/space because it allocates at least the frag size for a file, etc. Plus with the number of entries we have in syslog.conf (an order of magnitude larger than upstream), having to walk a linked list to evaluate how to handle messages when putting them out in log files does tend to add up with all of the logging we do on our appliances (which is considerably more chatty than I’ve seen other appliance vendors that I’ve worked for). Thanks, -Ngie [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJZGfJMAAoJEPWDqSZpMIYVmgEP/R/ysZiFHgtONDs4m76Eyeue UuKcusElG+sg2SKTe/V2a6HDaEgoa57A6HDxNzQ34KvOmiDvAord1B6oqeAEPkZx a1dAknhsLun9yLD2eGJWeoqm5jhl8HBUW8dV+Y7L4r9zKBb/c3b50742FAzKXtg/ 4JddGGWe7SRw4fZiIFxi6MR7b3K1h93CuN5m00uXflkJL5sfisv+ZBF2aXAzulB8 Sj8O3C6aCdRGi3xCQbUmR6tx8eg8DlZ/yaUtWaHBd8HaDVYcuptnn6i2qKQann7V WY/iRbfBGRNUQ01HTnunEt/wAwoRIhmnv2HO6wmhrfdM1kttuMGZU76BmNBZisnU shVe0luZACW0rFlOPW7aLh2HSQsQJq7zXLmv4w5pgcH+0mxH7ud3Sf9tU8kF1KVj +nt6n1b80A66NR0elYmrw64zrfQAA0radI9pvt6jgJ29qRwSbo9CDbvl1Fl05DkB Mxe1hSO7SpCxW8NreNaJMD4DeRbJ5q4rcVZHQPo6vpBXbSUPdvbS3R3oc1jfRHG8 95VObJYqXjnwo6Hb1y/DLG4OV8kj8sBNsckCd8NYub61BdiCBcZ+dfCzNVnmh7Ki xoXXJpXYyU2Rq59n9UyvbhEeSzmoYySVlhsagol6YXUKMjjhUUBZ0ae5gaCZTb0D +qjnmTNlAFj5rHLJ5odB =RwyB -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?60A3FDE1-F68E-49D5-972F-A0C8993E0FEE>
