Allow enabling/disabling of SQL log