Allow custom formats for the Access logs; like JSON.
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by reading the existing logA functionality and the Snap server configuration path mentioned in the issue, then review the linked Stack Overflow discussion and issue comments for the intended extension point. Done means callers can inject custom access-log formatting, including JSON, without changing Snap Server internals.
Written by the indexing model from the issue text.
Description
I have been reading through the code and I am pretty sure that I need to override the logA method in order to get custom logging support. I asked a question on SO about it just in case.
But I don't think that I can currently override this logA functionality without changing the code inside of Snap Server. If this is correct then, for this issue, it would be great if I could inject a method into the snap server configuration that would intercept the access log generation and let me write my own access log lines in a custom format.
- Dominant language
- Haskell
- Stars
- 197
- Forks
- 87
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from snapframework/snap-server
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
snapframework/snap-server#118 · 5 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
snapframework/snap-server#96 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
snapframework/snap-server#94 · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
snapframework/snap-server#92 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
snapframework/snap-server#85 · 8 comments ·
All issues in snapframework/snap-server
Similar issues
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
haskellfoundation/haskellfoundation.github.io#637 · 2 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
koalaman/shellcheck#3539 ·
-
time-manager-0.4.0 Openfailure: bounds
Difficulty 1/5 Under an hour Newbie friendliness 72/100
commercialhaskell/stackage#8122 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
objectionary/phino#1350 ·