Skip to content

Instantly share code, notes, and snippets.

@adampats
Created June 24, 2015 22:00
Show Gist options
  • Save adampats/4da8d6e585a4d8999f21 to your computer and use it in GitHub Desktop.
Save adampats/4da8d6e585a4d8999f21 to your computer and use it in GitHub Desktop.
AWS User Data script logging
exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1
@adampats
Copy link
Author

Log all the things!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment