Skip to content

Commit 002a873

Browse files
Merge pull request ClickHouse#79212 from ClickHouse/log_for_http_server_external
Adds a log file for external http server
2 parents f06768a + 6bcfd37 commit 002a873

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/integration/helpers/external_sources.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,11 +490,12 @@ def prepare(self, structure, table_name, cluster):
490490
[
491491
"bash",
492492
"-c",
493-
"python3 /http_server.py --data-path={tbl} --schema={schema} --host={host} --port={port} --cert-path=/fake_cert.pem".format(
493+
"python3 /http_server.py --data-path={tbl} --schema={schema} --host={host} --port={port} --cert-path=/fake_cert.pem {logs}".format(
494494
tbl=path,
495495
schema=self._get_schema(),
496496
host=self.docker_hostname,
497497
port=self.http_port,
498+
logs='>> /var/log/clickhouse-server/http_server.py.log 2>&1'
498499
),
499500
],
500501
detach=True,

0 commit comments

Comments
 (0)