
Implement data masking for user data in server logs and diagnostic output. This change prevents potential exposure of confidential information, such as PII, and enhances privacy protection. It masks all command arguments, client names, and client usernames. Added a new hide-user-data-from-log configuration item, default yes. --------- Signed-off-by: Amit Nagler <anagler123@gmail.com>
42 lines
821 B
Plaintext
42 lines
821 B
Plaintext
# Server configuration for testing.
|
|
|
|
always-show-logo yes
|
|
notify-keyspace-events KEA
|
|
daemonize no
|
|
pidfile /var/run/valkey.pid
|
|
port 6379
|
|
timeout 0
|
|
bind 127.0.0.1
|
|
loglevel verbose
|
|
logfile ''
|
|
databases 16
|
|
latency-monitor-threshold 1
|
|
repl-diskless-sync-delay 0
|
|
|
|
# Turn off RDB by default (to speedup tests)
|
|
# Note the infrastructure in server.tcl uses a dict, we can't provide several save directives
|
|
save ''
|
|
|
|
rdbcompression yes
|
|
dbfilename dump.rdb
|
|
dir ./
|
|
|
|
slave-serve-stale-data yes
|
|
appendonly no
|
|
appendfsync everysec
|
|
no-appendfsync-on-rewrite no
|
|
activerehashing yes
|
|
|
|
enable-protected-configs yes
|
|
enable-debug-command yes
|
|
enable-module-command yes
|
|
|
|
propagation-error-behavior panic
|
|
|
|
# Make sure shutdown doesn't fail if there's an initial AOFRW
|
|
shutdown-on-sigterm force
|
|
|
|
enable-debug-assert yes
|
|
|
|
hide-user-data-from-log no
|