24 Oct
2023
24 Oct
'23
1:22 p.m.
On Oct 24, 2023, at 12:24 PM, Stephane Bourque <stephane.bourque@arilia.com> wrote:
We have a need to be able to identify the virtual-server that is generating the log messages. How would you approach this?
There is an automatically generated attribute called Virtual-Server. It contains the name of the current virtual server.
- Is there a way to get a different logging configuration per server?
That's not possible, sorry.
- Is there a way to add the server name in logging statements?
You can edit the "log" section of radiusd.conf. Look at the messages there, and add a %{Virtual-Server} expansion. Alan DeKok.