where are RPC functions logs?

Sometimes, my RPC function throws/raises an exception. To debug the exception, I want to see the log of the exceptions. I already checked the Logs page, but I couldn't find RPC logs there. Where are the RPC functions logs stored?
3 Replies
inder
inder2w ago
Try RAISE WARNING <value_you_want_to_log> in between function steps to debug. These logs are present in postgres logs.
inder
inder2w ago
No description
garyaustin
garyaustin2w ago
I use RAISE LOG.

Did you find this page helpful?