added a third option for log_sql prop.
enums should be strings