mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 21:18:20 +00:00
Merge remote branch 'origin/topic/robin/logging-internals'
Includes some additional cleanup.
This commit is contained in:
commit
13a492091f
119 changed files with 5266 additions and 183 deletions
29
policy/logging-ascii.bro
Normal file
29
policy/logging-ascii.bro
Normal file
|
@ -0,0 +1,29 @@
|
|||
##! Interface for the ascii log writer.
|
||||
|
||||
module LogAscii;
|
||||
|
||||
export {
|
||||
## If true, output everything to stdout rather than
|
||||
## into files. This is primarily for debugging purposes.
|
||||
const output_to_stdout = F &redef;
|
||||
|
||||
## If true, include a header line with column names.
|
||||
const include_header = T &redef;
|
||||
|
||||
# Prefix for the header line if included.
|
||||
const header_prefix = "# " &redef;
|
||||
|
||||
## Separator between fields.
|
||||
const separator = "\t" &redef;
|
||||
|
||||
## Separator between set elements.
|
||||
const set_separator = "," &redef;
|
||||
|
||||
## String to use for empty fields.
|
||||
const empty_field = "" &redef;
|
||||
|
||||
## String to use for an unset &optional field.
|
||||
const unset_field = "-" &redef;
|
||||
}
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue