[OpenAFS] Proposed changes for server log rotation
Thu, 02 Dec 2010 22:57:12 -0500
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
Content-Type: text/plain; charset=UTF-8
On 12/2/2010 10:45 PM, Russ Allbery wrote:
> Jeffrey Altman <email@example.com> writes:
>> Of course that requires that there be a log rotation tool. I don't
>> think that OpenAFS by default should fill the disk partition simply
>> because it is permitted to run for years without restarts and the admi=
>> has not configured a log rotation tool.
> This is the main reason why I think syslog logging should be the defaul=
> for new installations somehow. I do realize that there are bad syslogd=
> in some places, and if one wants full audit logging and debugging some
> syslogds can't cope. And I don't want to force syslog on people who
> really don't want it, nor do I really want to change behavior on upgrad=
> very badly.
> But every UNIX system has syslog out of the box, and every other major
> open source server application that I can think of other than Apache an=
> Java applications uses syslog by default, precisely because it's alread=
> set up to do something sane, rotate logs, etc. That's been the case fo=
> decades. AFS has always been exceptionally weird in that it does its o=
> (somewhat annoying) logging rather than using the facility everyone els=
> And we just don't log that much stuff by default. If you're turning on=
> huge amounts of logging, you may want to switch to something special, b=
> for the amount of stuff we log by default, syslog would be perfectly fi=
> and would probably make it much easier for server administrators to fin=
> the logs (since they'd be in the same place they look for logs for
> everything else they run).
My one concern to switching to something like syslog by default is that
"bos getlog" will need to be re-implemented in a different fashion.
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
-----END PGP SIGNATURE-----