linelog to two destinations

Arran Cudbard-Bell a.cudbardb at freeradius.org
Wed Jan 13 15:45:55 CET 2016


> On 13 Jan 2016, at 09:39, Jonathan Gazeley <Jonathan.Gazeley at bristol.ac.uk> wrote:
> 
> Hi folks,
> 
> I think I know the answer to this ("no") but I thought I'd ask anyway. Is it possible to configure a linelog instantiation to log to syslog AND a file at the same time?

No, that's the point of having module instances.

> If not, I guess my options are two load two different linelog instantiations with different values for "filename", or to send it all to syslog and let syslog try and work out what the virtual-server-specific filenames should be.

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.

-Arran

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS development team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 872 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20160113/4ff13dde/attachment.sig>


More information about the Freeradius-Users mailing list