Open sanketg86 opened 3 years ago
Hi, what about logging to stderr instead of stdout with help of this in the cluster CRD?
spec:
postgresql:
parameters:
log_destination: stderr
logging_collector: "off"
No sidecar needed ...
@skaffille : above postgresql configuration already configured in our manifest , still we are not able to see at postgresql.csv , moreover we need these logs at stdout for postgres container
For me, a fluentd
based sidecar container that exports the logs to JSON on stdout
works well.
Please, answer some short questions which should help us to understand your problem / question better?
Could you please guide me how do I stdout postgres log from postgres container? When Pod get restart all logs vanished. I want to stdout and see in google console logging instead of store on file-system path in csv file.