Thanks, this works now. Norbert -----Original Message----- From: Freeradius-Users [mailto:freeradius-users-bounces+norbert.wegener=atos.net@lists.freeradius.org] On Behalf Of Alan DeKok Sent: Friday, October 09, 2015 3:52 PM To: FreeRadius users mailing list Subject: Re: sql_log in 3.0.10 On Oct 9, 2015, at 9:43 AM, Wegener, Norbert <norbert.wegener@atos.net> wrote:
Unfortunately this does not seem to work either.
In raddb/mods-config/sql/main/mysql/queries.conf I activated the log file:
post-auth { # Write SQL queries to a logfile. This is potentially useful for bulk inserts # when used with the rlm_sql_null driver. logfile = ${logdir}/post-auth.sql
What happens when you do: $ radiusd -X | grep logfile ? You should see the above filename show up.
Grepping for post-auth.sql in the complete log does not provide a single match. So, the result is the same as before: no log file
Hmm.. try grabbing the code from the v3,0.x branch on github. I pushed a fix so that a "logfile" directive in the sql{} config should work. Maybe that will help/ Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html