Would it be possible to have templates in the filename? I can imagine
cases where I'd write to a different file based on message properties.
Like, if I start to see alerts that stuff is timing out, I'd spin up my
second CPU core (in a laptop setting, where I can't be bothered with
proper monitoring, and want to (ab)use syslog-ng for that task).
It also works with stuff in /sys, so procfile() is not a good name. I
> - name of the driver, right now it is called procfile as it was the
> original use-case, however it works with stuff in /dev too, and might
> work with simple named pipes.
would suggest oneshot-file() or simply oneshot().
I do not think file creation is important in this case.
> - right now the file must exist and is not created (e.g. it really
> requires an existing file); do we need that?
I don't think we do.
> - do we need append mode in some cases
> - whether we need append mode (if we think of general files, this would
> probably be needed)
--
|8]
______________________________________________________________________________
Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
FAQ: http://www.balabit.com/wiki/syslog-ng-faq