© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
10 replies
Igor

`raise notice` doesn't show up in Postgres logs using CLI?

While trying to debug a function locally using Supabase CLI, added
raise notice
raise notice
to see it if actually fires, but it wouldn't.

So I decided to just write
DO $$ 
BEGIN 
  RAISE NOTICE 'hello'; 
END $$;
DO $$ 
BEGIN 
  RAISE NOTICE 'hello'; 
END $$;

And there's still nothing in the Logs. Is something broken?
Supabase 1.127.3
Supabase 1.127.3
via Brew.
CleanShot_2023-12-30_at_15.56.57.png
CleanShot_2023-12-30_at_15.56.55.png
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Exploring Postgres Logs For Raise Notice
SupabaseSSupabase / help-and-questions
4y ago
Where do I find 'raise notice' messages?
SupabaseSSupabase / help-and-questions
4y ago
Logs won't show in local environment
SupabaseSSupabase / help-and-questions
14mo ago
CLI via NPM doesn't work
SupabaseSSupabase / help-and-questions
4y ago