Re: svlogd sub-directory log rotation?

From: Colin Booth <cathexis_at_gmail.com>
Date: Tue, 10 May 2016 22:51:25 -0700

On Tue, May 10, 2016 at 2:39 PM, Jameson Graef Rollins
<jrollins_at_finestructure.net> wrote:
> Hi, folks. I'm wondering if anyone knows if it's possible to somehow
> coax svlogd to rotate logs into sub-directories. So for instance, I
> would like to have a log file that would be named:
[...]
> svlogd doesn't seem to have that feature, but I wonder anyone has figure
> out a clever way to achieve something similar.
>
I would take a look at the svlogd processor directive. It's a little
bit weird in that svlogd forks a process that reads the file contents
on stdin but with a bit of experimenting it should do what you want.

Cheers!
-Colin


-- 
"If the doors of perception were cleansed every thing would appear to
man as it is, infinite. For man has closed himself up, till he sees
all things thru' narrow chinks of his cavern."
  --  William Blake
Received on Wed May 11 2016 - 05:51:25 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:19 UTC