mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Better logs snarfing
This commit is contained in:
parent
62c287da65
commit
7d4415a2d0
@ -135,8 +135,11 @@
|
|||||||
(collect-traces test node))
|
(collect-traces test node))
|
||||||
(info node "Pid files doesn't exists"))
|
(info node "Pid files doesn't exists"))
|
||||||
(kill-clickhouse! node test)
|
(kill-clickhouse! node test)
|
||||||
(c/cd data-dir
|
(if (cu/exists? coordination-data-dir)
|
||||||
(c/exec :tar :czf "coordination.tar.gz" "coordination")))
|
(do
|
||||||
|
(info node "Coordination files exists, going to compress")
|
||||||
|
(c/cd data-dir)
|
||||||
|
(c/exec :tar :czf "coordination.tar.gz" "coordination"))))
|
||||||
(let [common-logs [stderr-file (str logs-dir "/clickhouse-server.log") (str data-dir "/coordination.tar.gz")]
|
(let [common-logs [stderr-file (str logs-dir "/clickhouse-server.log") (str data-dir "/coordination.tar.gz")]
|
||||||
gdb-log (str logs-dir "/gdb.log")]
|
gdb-log (str logs-dir "/gdb.log")]
|
||||||
(if (cu/exists? (str logs-dir "/gdb.log"))
|
(if (cu/exists? (str logs-dir "/gdb.log"))
|
||||||
|
Loading…
Reference in New Issue
Block a user