mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 21:42:39 +00:00
6 lines
192 B
MySQL
6 lines
192 B
MySQL
|
-- There are no fatal errors:
|
||
|
SELECT count() FROM system.events WHERE event = 'LogFatal';
|
||
|
|
||
|
-- It counts the trace log messages:
|
||
|
SELECT count() > 0 FROM system.events WHERE event = 'LogTrace';
|