mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Merge pull request #46276 from ClickHouse/document-log-compression
docs for logger stream_compression
This commit is contained in:
commit
5dd6f25d5d
@ -606,6 +606,7 @@ Keys:
|
||||
- `size` – Size of the file. Applies to `log` and `errorlog`. Once the file reaches `size`, ClickHouse archives and renames it, and creates a new log file in its place.
|
||||
- `count` – The number of archived log files that ClickHouse stores.
|
||||
- `console` – Send `log` and `errorlog` to the console instead of file. To enable, set to `1` or `true`.
|
||||
- `stream_compress` – Compress `log` and `errorlog` with `lz4` stream compression. To enable, set to `1` or `true`.
|
||||
|
||||
**Example**
|
||||
|
||||
@ -616,6 +617,7 @@ Keys:
|
||||
<errorlog>/var/log/clickhouse-server/clickhouse-server.err.log</errorlog>
|
||||
<size>1000M</size>
|
||||
<count>10</count>
|
||||
<stream_compress>true</stream_compress>
|
||||
</logger>
|
||||
```
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<yandex>
|
||||
<clickhouse>
|
||||
<logger>
|
||||
<stream_compress>true</stream_compress>
|
||||
</logger>
|
||||
</yandex>
|
||||
</clickhouse>
|
||||
|
Loading…
Reference in New Issue
Block a user