]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Cassandra queries.conf: Increase post-auth logging precision
authorTerry Burton <tez@terryburton.co.uk>
Tue, 13 Aug 2019 14:34:20 +0000 (15:34 +0100)
committerAlan DeKok <aland@freeradius.org>
Fri, 23 Aug 2019 17:29:05 +0000 (13:29 -0400)
Timestamps are stored with millisecond precision.

raddb/mods-config/sql/main/cassandra/queries.conf

index a1ae6a6a7316b800d27d1f8e7c8c7bd56d9dbdb9..1fd278c70e7e74b1399a2fc7475bcbd26bdaa262 100644 (file)
@@ -345,5 +345,5 @@ post-auth {
                        '%{SQL-User-Name}', \
                        '%{%{User-Password}:-%{Chap-Password}}', \
                        '%{reply:Packet-Type}', \
-                       '%S')"
+                       '%{expr:%l * 1000 + %M / 1000}')"
 }