Package: runit
Version: 1.3.3-1
Severity: wishlist

Hi,

I'm using socklog and svlogd to manage logs coming in from several boxes via
UDP.

Configuration would be a lot easier if I could have a "hierarchical"
setup where I have a directory tree for each syslog client and can select
only lines coming from that client in the root of that tree.

For example, assuming I have box1 at 1.2.3.4 and box2 at 2.3.4.5, I'd like
to be able to have the following directory tree:

box1/
box1/mail/
box1/cron/
box1/kernel/
[...]
box2/
box2/firewall/
box2/kernel/
box2/mail/
[...]

box1/config could read something like this:
---8<---
-*
+1.2.3.4:*
/mail
/cron
/kernel
--->8---

In box1/mail I would then do:
---8<---
s123456
n123
-*
+*mail*
--->8---

The benefit would be that I could use the same 'mail/config' for both box1
and box2, and would only need to modify the IP address of each box in one
place if it changes.

The inverse could also be useful (mail/box1, mail/box2 etc.).

Although something similar albeit less flexible can already be achieved
using a template-based approach with e.g. sed, I feel this feature wouldn't
bloat svlogd very much. I don't think directory trees deeper than, say, 3
levels would be useful either.

Best regards,

Andras

Ps. any plans to implement multilog's "=" command (log status to file)?

-- 
                 Andras Korn <korn at chardonnay.math.bme.hu>
                 <http://chardonnay.math.bme.hu/~korn/> QOTD:
              Crime, Sex, Alcohol, Drugs... God, I love Congress!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to