YugabyteDB
TMA-YUGABYTEDB-3.1.1
Ensure the log destinations are set correctly
Trung bìnhCấp 1Xem xét thủ côngyugabytedb
Mô tả
YugabyteDB by default supports logging server messages to stderr. Assessed manually here: the benchmark check is environment-specific and cannot be evaluated reliably by a single command.
Cách kiểm tra
Phương pháp kiểm tra: Xem xét thủ công
Khuyến nghị này không thể kiểm tra tự động. Lần quét sẽ liệt kê mục này kèm hướng dẫn khi bạn truyền cờ --include-manual.
Run SHOW log_destination; in ysqlsh. The value (default stderr) must include every log destination your organisation logging policy requires (e.g. stderr, csvlog, syslog). Missing required destinations are a finding.
Cách khắc phục
Phương pháp khắc phục: Hướng dẫn hoặc bản vá hạ tầng
Use the yb-tserver binary and its flags to configure the YB-TServer server. Add the following GFLAG to YB-TServer: ./bin/yb-tserver --ysql_pg_conf_csv="log_destination='stderr'"
Thuộc tính
- Hệ điều hành
- Bất kỳ
- Thẻ
- yugabytedblogging
- Tham chiếu
- CIS YugabyteDB Benchmark v2.0.0 - 3.1.1 Ensure the log destinations are set correctly