MDL-31636 redirect debugging to error log for ajax