29 Jan
2002
29 Jan
'02
11:51 a.m.
Hi! On Sun, Jan 27, 2002 at 10:49:56AM +0100, Andreas Schulze wrote:
great idea. We are logging some Class-B's to syslog-ng. So handling source IP's is an absolute GREAT feature. Thanks...
But, if you can make it possible, to log source IP's via a template() variable (say SOURCE_IP or so) used by the file() destination, too ... ... that's the feature we want for! That sould not be too hard to do, but I don't think I will have time for it in the near future. If you want to try yourself, you should look into affile.c. How to get the source address of a log message should me quite obvious from my patch (look into filters.c).
Greetings Gert