sql_log in 3.0.10

Alan DeKok aland at deployingradius.com
Fri Oct 9 15:52:17 CEST 2015


On Oct 9, 2015, at 9:43 AM, Wegener, Norbert <norbert.wegener at 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.




More information about the Freeradius-Users mailing list