Error Reporting and Logging Configuration Parameters in Greenplum
Log rotation
log_rotation_age
log_rotation_size
log_truncate_on_rotation
When to Log
client_min_messages
log_error_verbosity
log_min_duration_statement
log_min_error_statement
log_min_messages
What to Log
debug_pretty_print
debug_print_parse
debug_print_plan
debug_print_prelim_plan
debug_print_rewritten
debug_print_slice_table
log_autostats
log_connections
log_disconnections
log_dispatch_stats
log_duration
log_executor_stats
log_hostname
log_parser_stats
log_planner_stats
log_statement
log_statement_stats
log_timezone
gp_debug_linger
gp_log_format
gp_max_csv_line_length
gp_reraise_signal