Skip to content

postgREST log add customs fields #3152

Discussion options

You must be logged in to vote

Ah, so you want to surface some headers to the log line.

For now you could do it with Nginx like so https://ruslan.rocks/posts/nginx-log-headers

For PostgREST itself, there's currently now way to do this. Maybe open an issue requesting a config similar to Nginx's log_format.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@surendirababu-r
Comment options

@steve-chavez
Comment options

Answer selected by steve-chavez
@surendirababu-r
Comment options

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