[FR] symlink and wildcard character support for unix-dgram()
Hello. Is it possible to implement support for symlinks and wildcard character in unix-dgram() function ? For example. Some services can use chroot environment and dev/log can be placed to chroot. Some directories may have a set of symbolic links to various dev/log: # ls -l /etc/syslog.d/* lrwxrwxrwx 1 root root 21 Apr 2 20:36 /etc/syslog.d/bind -> /var/lib/bind/dev/log lrwxrwxrwx 1 root root 22 Feb 19 2010 /etc/syslog.d/klogd -> /var/lib/klogd/dev/log it would be convenient to describe it as unix-dgram("/etc/syslog.d/") -- Regards, Sergey Y. Afonin asy@kraft-s.ru
On Wednesday 04 September 2013, Sergey Y. Afonin wrote:
it would be convenient to describe it as unix-dgram("/etc/syslog.d/")
unix-dgram("/etc/syslog.d/*") of course. -- Regards, Sergey Y. Afonin asy@kraft-s.ru
"Sergey Y. Afonin" <asy@kraft-s.ru> writes:
On Wednesday 04 September 2013, Sergey Y. Afonin wrote:
it would be convenient to describe it as unix-dgram("/etc/syslog.d/")
unix-dgram("/etc/syslog.d/*") of course.
There's work in progress to implement wildcard file source[1], which could - perhaps - be extended to support something similar for unix-dgrams too. [1]: https://github.com/balabit/syslog-ng-3.5/commits/wild-card-file-source However, this is something that will likely have to wait for syslog-ng 3.6, as 3.5 is very near the feature freeze. -- |8]
On Wednesday 04 September 2013, Gergely Nagy wrote:
unix-dgram("/etc/syslog.d/*") of course.
There's work in progress to implement wildcard file source[1], which could - perhaps - be extended to support something similar for unix-dgrams too.
Thanks for information. Should I add a query about request to Bugzilla ? And the another idea. What about expand syntax for update sections ? For example source sys [add/replace/e.t.c] {} -- Regards, Sergey Y. Afonin asy@kraft-s.ru
On Monday 16 September 2013, Sergey Y. Afonin wrote:
Should I add a query about request to Bugzilla ?
About request of symlinks, I mean. -- Regards, Sergey Y. Afonin asy@kraft-s.ru
participants (2)
-
Gergely Nagy
-
Sergey Y. Afonin