logging patch
Peter Nixon
listuser at peternixon.net
Wed Aug 16 12:50:43 CEST 2006
On Wed 16 Aug 2006 13:05, Nicolas Baradakis wrote:
> Peter Nixon wrote:
> > Does anyone have anything against the attached patch? We are using it in
> > production to also output the DID (CalledStationID) to radiusd.log
> > alongside the CID. If there is no DID it shouldn't change the logging
> > format at all.
>
> I think it should be an option (disabled by default) so it doesn't break
> custom scripts monitoring the logs.
>
> Ideally, the whole string could be user-defined, with a default value
> corresponding to the actual behaviour. Something like:
>
> # This string is appended to each line of authentication logging.
> log_auth_append = "from client %{Client-IP-Address} port %{NAS-Port}"
Yep. That would definitely be a nicer way to do logging :-)
--
Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-devel/attachments/20060816/9b7a892e/attachment.pgp>
More information about the Freeradius-Devel
mailing list