Fixing $logs variable

While using Plugin in CakePHP 2.2, sql_dump couldnt be generated due to
error:
"Encountered unexpected $logs cannot generate SQL log"

Replaced $logs to $data resolved this problem