Log Postgres #1892
-
Hello, It is not an issue but a question, the answer may be simple. We use a custom role with a JWT Web token to authenticate to the API. Is it possible? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @legithubdeaymeric,
Hm, could you show a sample of how your logs look like? I believe they should already include a Additionally, if you want to identify PostgREST inside pg logs, you could use an
|
Beta Was this translation helpful? Give feedback.
Hey @legithubdeaymeric,
Hm, could you show a sample of how your logs look like? I believe they should already include a
set local role = '<jwt_role>'
.Additionally, if you want to identify PostgREST inside pg logs, you could use an
application_name
on the connection string. Like: