Skip to content

Instantly share code, notes, and snippets.

@amitaibu
Last active August 29, 2015 14:17
Show Gist options
  • Save amitaibu/8d83d5372de63f590a15 to your computer and use it in GitHub Desktop.
Save amitaibu/8d83d5372de63f590a15 to your computer and use it in GitHub Desktop.
<?php
if (!empty($_ENV)) {
// Add the URL only on Pantheon sites.
$conf['logs_http_url'] = 'Your-Loggly-URL';
// Inject the site name and environment. This will result for example with ``my_site-live``
$conf['logs_http_uuid'] = $_ENV['PANTHEON_SITE_NAME'] . '-' . $_ENV['PANTHEON_ENVIRONMENT'];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment