[Question posted by a user on YugabyteDB Community Slack ]
How can I enable query logging in YSQL ?
[Question posted by a user on YugabyteDB Community Slack ]
How can I enable query logging in YSQL ?
Query logging can be enabled using the --ysql_log_statement
gflag in yb-tserver like explained in yb-tserver configuration reference | YugabyteDB Docs.
The query logs will show in postgres*.log
files in the logging dir (how to find logs).