Export the logs

This commit is contained in:
Alexey Milovidov 2023-12-12 05:04:37 +01:00
parent e5a19109bb
commit b40e04a8be

View File

@ -14,6 +14,15 @@ dpkg -i package_folder/clickhouse-client_*.deb
mkdir /dev/shm/clickhouse
chown clickhouse:clickhouse /dev/shm/clickhouse
# Allow introspection functions, needed for sending the logs
echo "
profiles:
default:
allow_introspection_functions: 1
" > /etc/clickhouse-server/allow_introspection_functions.yaml
config_logs_export_cluster /etc/clickhouse-server/config.d/system_logs_export.yaml
clickhouse start
# Wait for the server to start, but not for too long.