add stderr configs to kafka test

This commit is contained in:
Nikita Mikhaylov 2019-10-28 13:51:43 +03:00
parent 4fe0dda453
commit 206800b8fc
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
<yandex>
<logger>
<level>trace</level>
<log>/var/log/clickhouse-server/log.log</log>
<errorlog>/var/log/clickhouse-server/log.err.log</errorlog>
<size>1000M</size>
<count>10</count>
<stderr>/var/log/clickhouse-server/stderr.log</stderr>
<stdout>/var/log/clickhouse-server/stdout.log</stdout>
</logger>
</yandex>

View File

@ -31,7 +31,7 @@ import kafka_pb2
cluster = ClickHouseCluster(__file__)
instance = cluster.add_instance('instance',
config_dir='configs',
main_configs=['configs/kafka.xml'],
main_configs=['configs/kafka.xml', 'configs/log_conf.xml'],
with_kafka=True,
clickhouse_path_dir='clickhouse_path')
kafka_id = ''