Question about postgres checkpoints
polponline
HOBBYOP

2 years ago

Is there a reason why postgres checkpoints are classified as errors?

Closed

15 Replies

polponline
HOBBYOP

2 years ago

062ea51f-a209-44fa-84fa-639d60a22f66


2 years ago

Postgres prints them to stderr so they are colored red


polponline
HOBBYOP

2 years ago

can i change it via like, an env variable?


2 years ago

depends on what your source is, may I ask why that's desirable?


polponline
HOBBYOP

2 years ago

because they show up as errors in the observability tab, they aren't errors as far as i understood


2 years ago

set LOG_TO_STDOUT to true


polponline
HOBBYOP

2 years ago

ok, thanks


2 years ago

that will redirect everything to stdout, even actual errors


polponline
HOBBYOP

2 years ago

oh, maybe thats not what i wanted


2 years ago

it's the closest you can get to what you want



polponline
HOBBYOP

2 years ago

i could disable log checkpoints


polponline
HOBBYOP

2 years ago

but how do i config postgres from railway?


2 years ago

the same way you would any Postgres database, write a query to set the settings you want


polponline
HOBBYOP

2 years ago

thanks


Welcome!

Sign in to your Railway account to join the conversation.

Loading...