mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 08:32:02 +00:00
Better logs snarfing
This commit is contained in:
parent
62c287da65
commit
7d4415a2d0
@ -135,8 +135,11 @@
|
||||
(collect-traces test node))
|
||||
(info node "Pid files doesn't exists"))
|
||||
(kill-clickhouse! node test)
|
||||
(c/cd data-dir
|
||||
(c/exec :tar :czf "coordination.tar.gz" "coordination")))
|
||||
(if (cu/exists? coordination-data-dir)
|
||||
(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")]
|
||||
gdb-log (str logs-dir "/gdb.log")]
|
||||
(if (cu/exists? (str logs-dir "/gdb.log"))
|
||||
|
Loading…
Reference in New Issue
Block a user