zeek/testing/btest/scripts/base/frameworks/logging
Robin Sommer 19eea409c3 Extending the log writer DoInit() API.
We now pass in a Info struct that contains:

    - the path name (as before)
    - the rotation interval
    - the log_rotate_base_time in seconds
    - a table of key/value pairs with further configuration options.

To fill the table, log filters have a new field "config: table[string]
of strings". This gives a way to pass arbitrary values from
script-land to writers. Interpretation is left up to the writer.

Also splits calc_next_rotate() into two functions, one of which is
thread-safe and can be used with the log_rotate_base_time value from
DoInit().

Includes also updates to the None writer:

    - It gets its own script writers/none.bro.

    - New bool option LogNone::debug to enable debug output. It then
      prints out all the values passed to DoInit(). That's used by a
      btest test to ensure the new DoInit() values are right.

    - Fixed a bug that prevented Bro from terminating..

(scripts.base.frameworks.logging.rotate-custom currently fails.
Haven't yet investigated why.)
2012-06-21 17:42:33 -07:00
..
dataseries Moving trace for rotation test into traces directory. 2012-05-16 18:28:51 -07:00
adapt-filter.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
ascii-binary.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
ascii-empty.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
ascii-escape-notset-str.bro Fixing ASCII logger to escape the unset-field place-holder if written 2011-11-29 17:01:47 -08:00
ascii-escape-odd-url.bro Bugfix for log writer. 2011-09-11 21:33:09 -07:00
ascii-escape-set-separator.bro Merge remote branch 'origin/topic/jsiwek/log-escaping' 2011-12-19 06:37:54 -08:00
ascii-escape.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
ascii-options.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
ascii-timestamps.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
attr-extend.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
attr.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
disable-stream.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
empty-event.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
env-ext.test Teach LogWriterAscii to use BRO_LOG_SUFFIX env. var. (addresses #704) 2011-12-01 16:18:56 -06:00
events.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
exclude.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
file.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
include.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
no-local.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
none-debug.bro Extending the log writer DoInit() API. 2012-06-21 17:42:33 -07:00
path-func-column-demote.bro Fix filter path_func to allow record argument as a subset of stream's columns. 2011-09-09 14:57:22 -05:00
path-func.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
pred.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
remote-types.bro Switching to new btest command TEST-SERIALIZE for communication tests. 2012-05-14 16:50:48 -07:00
remote.bro Switching to new btest command TEST-SERIALIZE for communication tests. 2012-05-14 16:50:48 -07:00
remove.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
rotate-custom.bro Fix for when not producing local output; that hung. 2012-05-17 12:38:47 -07:00
rotate.bro Fix for when not producing local output; that hung. 2012-05-17 12:38:47 -07:00
stdout.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
test-logging.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
types.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
unset-record.bro Reorganizing btest/policy directory to match new scripts/ organization 2011-08-11 10:43:11 -05:00
vec.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00