I presently have the following in the post-auth section of my freeradius.
 
Is there a way to log my ACCEPTS to another table in the sql.
 
Additionally I would like to see the  reason why it failed in the post-auth-type REJECT
But cannot work that one out either is this possible if so how.
 
 
 
 
        Post-Auth-Type REJECT {
               # Login failed: log to SQL database.
               Sql1
               Sql2
        }