Type is usually the module name, and $pid should be pumped through the third arg. https://api.drupal.org/api/drupal/includes!bootstrap.inc/function/watchdog/7