mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/2120-logdir-leftover'
* origin/topic/awelzel/2120-logdir-leftover: sqlite default-logdir test: Remove ls ./logs baseline logging/sqlite: Recognize Log::default_logdir and place files there if set logging: Introduce Log::default_logdir deprecate LogAscii::logdir and per writer logdir logging/ascii: Fix .shadow paths when using LogAscii::logdir
This commit is contained in:
commit
691b099de1
28 changed files with 707 additions and 39 deletions
|
@ -26,6 +26,14 @@ export {
|
|||
## Default writer to use if a filter does not specify anything else.
|
||||
const default_writer = WRITER_ASCII &redef;
|
||||
|
||||
## Default logging directory. An empty string implies using the
|
||||
## current working directory.
|
||||
##
|
||||
## This directory is also used for rotated logs in cases where
|
||||
## :zeek:see:`Log::rotation_format_func` returns a record with
|
||||
## an empty or unset ``dir`` field.
|
||||
const default_logdir = "" &redef;
|
||||
|
||||
## Default separator to use between fields.
|
||||
## Individual writers can use a different value.
|
||||
const separator = "\t" &redef;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue