Question about postgres checkpoints
polponline
HOBBYOP

a year ago

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

15 Replies

polponline
HOBBYOP

a year ago

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


a year ago

Postgres prints them to stderr so they are colored red


polponline
HOBBYOP

a year ago

can i change it via like, an env variable?


a year ago

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


polponline
HOBBYOP

a year ago

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


a year ago

set LOG_TO_STDOUT to true


polponline
HOBBYOP

a year ago

ok, thanks


a year ago

that will redirect everything to stdout, even actual errors


polponline
HOBBYOP

a year ago

oh, maybe thats not what i wanted


a year ago

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



polponline
HOBBYOP

a year ago

i could disable log checkpoints


polponline
HOBBYOP

a year ago

but how do i config postgres from railway?


a year ago

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


polponline
HOBBYOP

a year ago

thanks


Loading...