-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up a logger and configure logging on AWS. For: #11
- Loading branch information
Showing
3 changed files
with
21 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# This should stream our logs to AWS CloudWatch. | ||
option_settings: | ||
aws:elasticbeanstalk:cloudwatch:logs: | ||
StreamLogs: true | ||
DeleteOnTerminate: false | ||
RetentionInDays: 60 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Logs | ||
|
||
When running locally, logs are written to stdout. When running on AWS, | ||
logs can be viewed in CloudWatch. To view the logs, navigate to the | ||
CloudWatch web console, then in the side bar click the link to the log | ||
groups page. Then look for the `web.stdout.log` log group. Then click | ||
the appropriate log stream (probably the most recent one). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters