[英]postgresql.conf setting is ignored because it is defunct
我正在嘗試將 2 個設置添加到我的 postgresql.conf 文件(在 CentOS Greenplum Postgres 9.4 實例上),我收到了這條消息:
log_destination"": setting is ignored because it is defunct
log_line_prefix"": setting is ignored because it is defunct
這是什么意思?
這是這些設置所在的部分:
# If the execution time of the query is longer than the specified time, log the query text and execution time in the log
log_min_duration_statement = 0
# Information to prefix to the log message
log_line_prefix = '%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h' # '%t %d %u %p %h '
log_checkpoints = on
# Log the client's connection
log_connections = on
# Log client disconnects
log_disconnections = on
#Leave lock wait longer than the time specified by # deadlock_timeout (default 1 second) in the log
log_lock_waits = on
# Leave logs that temporary files were created (all 0's)
log_temp_files = 0
# Log language is limited to English
lc_messages = 'C'
log_destination = 'csvlog'
Greenplum 進行自己的日志記錄並且不使用這兩個設置。 所有日志記錄都轉到段上的主數據目錄和段數據目錄的主數據目錄。 這是預期的行為,目前無法更改。
cd $MASTER_DATA_DIRECTY/pg_log/
和細分市場
cd /data/primary/gpseg*/pg_log/
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.