On 13 Jan 2016, at 09:49, Jonathan Gazeley <Jonathan.Gazeley@bristol.ac.uk> wrote:
On 13/01/16 14:45, Arran Cudbard-Bell wrote:
Filename gets expanded. Just use %{Virtual-Server} as part of the filename if you want to log to different files based on the virtual server.
Yes, this is exactly what I do at the moment. I now want to log to syslog as well as files without having to duplicate the config.
Reference a common template in the linelog modules, then you won't duplicate any of the config. templates { my_linelog_template { common_config_item = 'common_value' } } linelog inst1 { $template my_linelog_template } linelog inst2 { $template my_linelog_template } -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS development team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2