zeek/testing/btest/scripts/base/frameworks/logging
Robin Sommer f73eb3b086 Reworking thread termination logic.
Turns out the finish methods weren't called correctly, caused by a
mess up with method names which all sounded too similar and the wrong
one ended up being called. I've reworked this by changing the
thread/writer/reader interfaces, which actually also simplifies them
by getting rid of the requirement for writer backends to call their
parent methods (i.e., less opportunity for errors).

This commit also includes the following (because I noticed the problem
above when working on some of these):

     - The ASCII log writer now includes "#start <timestamp>" and
      "#end <timestamp> lines in the each file. The latter supersedes
      Bernhard's "EOF" patch.

      This required a number of tests updates. The standard canonifier
      removes the timestamps, but some tests compare files directly,
      which doesn't work if they aren't printing out the same
      timestamps (like the comm tests).

     - The above required yet another change to the writer API to
       network_time to methods.

     - Renamed ASCII logger "header" options to "meta".

     - Fixes #763 "Escape # when first character in log file line".

All btests pass for me on Linux FC15. Will try MacOS next.
2012-07-19 21:21:53 -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 Reworking thread termination logic. 2012-07-19 21:21:53 -07: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-line-like-comment.bro Reworking thread termination logic. 2012-07-19 21:21:53 -07:00
ascii-options.bro Reworking thread termination logic. 2012-07-19 21:21:53 -07: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 Reworking thread termination logic. 2012-07-19 21:21:53 -07:00
remote.bro Reworking thread termination logic. 2012-07-19 21:21:53 -07:00
remove.bro Logging framework update and mass Log::ID renaming. 2011-09-03 01:10:17 -04:00
rotate-custom.bro Add sorting canonifier to rotate-custom unit test. (addresses #846) 2012-07-10 16:27:03 -05: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