Skip to content

Commit dd08790

Browse files
blotusmmetc
authored andcommitted
document log_format
1 parent 016e88c commit dd08790

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

crowdsec-docs/docs/configuration/crowdsec_configuration.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ common:
114114
log_max_age: <max_age_of_log_file>
115115
log_max_files: <number_of_log_files_to_keep>
116116
compress_logs: (true|false)
117+
log_format: "(text|json)"
117118
config_paths:
118119
config_dir: "<path_to_crowdsec_config_folder>"
119120
data_dir: "<path_to_crowdsec_data_folder>"
@@ -223,6 +224,7 @@ common:
223224
log_max_age: <max_age_of_log_file>
224225
log_max_files: <number_of_log_files_to_keep>
225226
compress_logs: (true|false)
227+
log_format: "(text|json)"
226228
```
227229

228230
#### `daemonize`
@@ -279,6 +281,11 @@ Maximum number of old log files to retain. The default is to retain 3 old log f
279281

280282
Whether to compress the log file after rotation or not.
281283

284+
#### `log_format`
285+
> string
286+
287+
Format of crowdsec log. Can be `text` (default) or `json`
288+
282289
### `config_paths`
283290

284291
This section contains most paths to various sub configuration items.

0 commit comments

Comments
 (0)