fix: clarify "listening" logs
It's not immediately clear on which port the API server is listening. Also it's not clear that the "pgrst" channel is for database notifications. Goes from: <timestamp>: Admin server listening on 0.0.0.0:3001 <timestamp>: Listening on 0.0.0.0:3000 <timestamp>: Listening for notifications on the "pgrst" channel To: <timestamp>: Admin server listening on 0.0.0.0:3001 <timestamp>: API server listening on 0.0.0.0:3000 <timestamp>: Listening for database notifications on the "pgrst" channel
This commit is contained in:
committed by
Steve Chavez
parent
bfbd033c6e
commit
87dddd66d2
+1
-1
@@ -1268,7 +1268,7 @@ def test_log_postgrest_host_and_port(defaultenv):
|
||||
) as postgrest:
|
||||
output = postgrest.read_stdout(nlines=10)
|
||||
|
||||
assert f"Listening on {host}:{port}" in output[2] # output-sensitive
|
||||
assert f"API server listening on {host}:{port}" in output[2] # output-sensitive
|
||||
|
||||
|
||||
def test_succeed_w_role_having_superuser_settings(defaultenv):
|
||||
|
||||
Reference in New Issue
Block a user