3.38.2. LogQuery Previous topic Parent topic Child topic Next topic

This optional parameter allows you to control the SQL query that is used to insert log messages into the database.
The default is:
insert into RADMESSAGES (TIME_STAMP, TYPE, MESSAGE) 
values (%t, $p, $s)
Where %t is translated as a special character to the current time, $p is converted to the message priority (in integer in the range 0 to 4 inclusive), and $s is converted to the log message, quoted and escaped. MESSAGE will be truncated to MaxMessageLength characters prior to insertion.