Improved logging facility. Better printing out logs on Drupal page.