File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
crowdsec-docs/docs/configuration Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff 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)"
117118config_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
280282Whether 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
284291This section contains most paths to various sub configuration items.
You can’t perform that action at this time.
0 commit comments