Added optional script and redef bool to enable utf-8 in ASCII logs

This commit is contained in:
Dev Bali 2019-07-22 10:28:38 -07:00
parent 6927dd1213
commit 66557d3178
10 changed files with 111 additions and 2 deletions

View file

@ -26,6 +26,12 @@ export {
## This option is also available as a per-filter ``$config`` option.
const use_json = F &redef;
## If true, non ASCII UTF-8 characters will pass through and
## be written into logs
##
## This option is also available as a per-filter ``$config`` option.
const enable_utf_8 = F &redef;
## Define the gzip level to compress the logs. If 0, then no gzip
## compression is performed. Enabling compression also changes
## the log file name extension to include ".gz".