안녕하세요.
PgPool Log에 대해 질문이 있습니다,
현재 PgPool을 가동시킬떄 아래와 같은 스크립트(shell)를 통해 실행합니다.
./bin/pgpool -c -C -n -D -d > $LOG_FILE 2>&1 &
근데 아래와 같은 로그가 1초에 한번씩 계속 출력이 됩니다.
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: kind: T from 1 th backend
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: read kind from 1 th backend T NUM_BACKENDS: 2
2019-01-31 09:37:58 DEBUG: pid 6061: ProcessBackendResponse: kind from backend: T
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_one_backend: read kind from 1 th backend D
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: kind: D from 1 th backend
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: read kind from 1 th backend D NUM_BACKENDS: 2
2019-01-31 09:37:58 DEBUG: pid 6061: ProcessBackendResponse: kind from backend: D
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_one_backend: read kind from 1 th backend C
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: kind: C from 1 th backend
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: read kind from 1 th backend C NUM_BACKENDS: 2
2019-01-31 09:37:58 DEBUG: pid 6061: ProcessBackendResponse: kind from backend: C
2019-01-31 09:37:58 DEBUG: pid 6061: pool_set_command_success: done
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_one_backend: read kind from 1 th backend Z
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: kind: Z from 1 th backend
2019-01-31 09:37:58 DEBUG: pid 6061: read_kind_from_backend: read kind from 1 th backend Z NUM_BACKENDS: 2
2019-01-31 09:37:58 DEBUG: pid 6061: ProcessBackendResponse: kind from backend: Z
2019-01-31 09:37:58 DEBUG: pid 6061: pool_read_message_length: slot: 1 length: 5
2019-01-31 09:37:58 DEBUG: pid 6061: ReadyForQuery: transaction state:I
2019-01-31 09:37:58 DEBUG: pid 6061: pool_unset_query_in_progress: done
2019-01-31 09:37:58 DEBUG: pid 6061: pool_unset_query_in_progress: done
그래서 로그 레벨이나 올려, Info 또는 warn, error만 출력하고 싶은데 어떻게 해야하나요? |