added classes to logs
Added sql log