]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
MySQL queries.conf: Increase post-auth logging precision
authorTerry Burton <tez@terryburton.co.uk>
Tue, 13 Aug 2019 15:45:38 +0000 (16:45 +0100)
committerAlan DeKok <aland@freeradius.org>
Fri, 23 Aug 2019 17:29:05 +0000 (13:29 -0400)
MySQL can support microsecond precision on timestamps. When it isn't supported
the fractional part is simply discarded.

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

index 04a87afd69d402ccccacc248a32b93ced351a632..a73cd97c8cce6afc48bb9e9718eeb0cce7cee711 100644 (file)
@@ -371,5 +371,5 @@ post-auth {
                        '%{SQL-User-Name}', \
                        '%{%{User-Password}:-%{Chap-Password}}', \
                        '%{reply:Packet-Type}', \
-                       '%S')"
+                       '%S.%M')"
 }