Added drupal logging