diff --git a/.ebextensions/deploy.config b/.ebextensions/deploy.config index b53a92dacb..51fae238d8 100644 --- a/.ebextensions/deploy.config +++ b/.ebextensions/deploy.config @@ -1,6 +1,10 @@ +sources: + /tmp: https://s3.amazonaws.com/habitica-assets/scripts/loggly-setup-script-2016-05-27.zip commands: 01_sym: command: "ln -sf $(ls -td /opt/elasticbeanstalk/node-install/node-* | head -1)/bin/node /bin/node" + 02_loggly_config: + command: "su --session-command="python /tmp/configure-syslog.py setup --auth $LOGGLY_TOKEN --account $LOGGLY_ACCOUNT --yes" container_commands: 01_makeBabel: command: "touch /tmp/.babel.json" diff --git a/config.json.example b/config.json.example index 01c549c803..c7f801326c 100644 --- a/config.json.example +++ b/config.json.example @@ -61,13 +61,8 @@ "client_secret":"client_secret" }, "IAP_GOOGLE_KEYDIR": "/path/to/google/public/key/dir/", - "LOGGLY": { - "enabled": false, - "subdomain": "subdomain", - "token": "token", - "username": "username", - "password": "password" - }, + "LOGGLY_TOKEN": "token", + "LOGGLY_ACCOUNT": "account", "PUSH_CONFIGS": { "GCM_SERVER_API_KEY": "", "APN_PEM_FILES": {