[Openswan dev] rotating everything in a directory
mcr at sandelman.ottawa.on.ca
Mon Apr 12 09:59:05 CEST 2004
-----BEGIN PGP SIGNED MESSAGE-----
The Openswan 2.x pluto can do per-peer logging. It creates directories
under /var/log/pluto/peer (if it exists) like:
I would like to rotate all of these files on a regular basis (mostly
when they exceed some size). In particular, I want to make sure that
we ship some example config file.
- From my reading of the logrotate manual, I don't think that this is
possible. I can probably write patches to logrotate - but before I do, I
thought I'd ask if there were perhaps other options.
It might be that a custom program would be simpler. It wouldn't be very
much perl, certainly.
] ON HUMILITY: to err is human. To moo, bovine. | firewalls [
] Michael Richardson, Xelerance Corporation, Ottawa, ON |net architect[
] mcr at xelerance.com http://www.sandelman.ottawa.on.ca/mcr/ |device driver[
] panic("Just another Debian GNU/Linux using, kernel hacking, security guy"); [
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys
-----END PGP SIGNATURE-----
More information about the Dev