Add a hostname to log; we need something to grep remote query_log

This commit is contained in:
Mikhail f. Shiryaev 2024-09-10 12:56:19 +02:00
parent 8b1f21e7dd
commit 6e6e705486
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -124,6 +124,8 @@ function setup_logs_replication
check_logs_credentials || return 0
__set_connection_args
echo "My hostname is ${HOSTNAME}"
echo 'Create all configured system logs'
clickhouse-client --query "SYSTEM FLUSH LOGS"