OWASP / OWASP/Nest

Implement Structured Logging (JSON) for Production

Open
#3,932 5 comments 0 reactions 1 assignee Claimed by @hassaansaleem28 View on GitHub
bug enhancement
Dominant language
Python
Stars
451
Forks
702
Avg merge
22h 59m
Merged PRs (30d)
91

Description

**Is your feature request related to a problem? Please describe.**

Currently, application logs are output in plain text format which is ok for local but difficult to read and query in prod environments.
Like we can search for all reqs with latency > 500ms, grouping errors, and beyond.

**Describe the solution you'd like**

I propose implementing structure logging JSON for prod environment using "structlog."

**Are you going to work on implementing this?**

- [x] Yes
- [ ] No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.