An ActiveRecord::LogSubscriber which records only mod-SQL logs. The mod-SQL is shown as follows. Create a file underconfig/initializer, configure log subscriber, and ...
static unsigned int sql_passwd_cost = SQL_PASSWD_COST_INTERACTIVE; #define SQL_PASSWD_ENC_USE_BASE64 1 #define SQL_PASSWD_ENC_USE_HEX_LC 2 #define SQL_PASSWD_ENC_USE_HEX_UC 3 #define ...