Skip to content

How to set up middleware logger with log target as slog_redis? #2870

Answered by robjtede
paulobarchi asked this question in Q&A
Discussion options

You must be logged in to vote

You would be best to copy-paste the Logger middleware and make the required changes. Actix web uses the log ecosystem extensively and does not provide a way to use slog instead.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@paulobarchi
Comment options

@robjtede
Comment options

@paulobarchi
Comment options

Answer selected by paulobarchi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants