Skip to content

Commit a5c8bf8

Browse files
Configure Loggly
1 parent 61ddd2e commit a5c8bf8

File tree

6 files changed

+127
-16
lines changed

6 files changed

+127
-16
lines changed

.env.template

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,5 @@
33
FLASK_APP=todo_app/app
44

55
MONGODB_PRIMARY_CONNECTION_STRING=<DELIBERATELY MISSING>
6+
LOGGLY_TOKEN=<DELIBERATELY MISSING>
7+
LOG_LEVEL=<DELIBERATELY MISSING>

.env.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
FLASK_APP=todo_app/app
44

55
MONGODB_PRIMARY_CONNECTION_STRING=mongodb://fakemongo.com
6-

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,3 +181,9 @@ We are enforcing HTTPS with Azure App service.
181181

182182
Azure Cosmos DB is encrypted at rest and in transport.
183183
See https://learn.microsoft.com/en-us/azure/cosmos-db/database-encryption-at-rest for more details.
184+
185+
## Logging
186+
187+
Minimum level of shown logs can be configured by the `LOG_LEVEL` env var.
188+
189+
Populate the `LOGGLY_TOKEN` env var for logs to be sent to Loggly.

0 commit comments

Comments
 (0)