mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 09:02:00 +00:00
Add a hostname to log; we need something to grep remote query_log
This commit is contained in:
parent
8b1f21e7dd
commit
6e6e705486
@ -124,6 +124,8 @@ function setup_logs_replication
|
|||||||
check_logs_credentials || return 0
|
check_logs_credentials || return 0
|
||||||
__set_connection_args
|
__set_connection_args
|
||||||
|
|
||||||
|
echo "My hostname is ${HOSTNAME}"
|
||||||
|
|
||||||
echo 'Create all configured system logs'
|
echo 'Create all configured system logs'
|
||||||
clickhouse-client --query "SYSTEM FLUSH LOGS"
|
clickhouse-client --query "SYSTEM FLUSH LOGS"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user