[Bro-Dev] #508: ASCII Log Writer precision of time values varies

Bro Tracker bro at tracker.bro-ids.org
Thu Jul 21 18:32:19 PDT 2011


#508: ASCII Log Writer precision of time values varies
-----------------------------+------------------------
 Reporter:  jsiwek           |      Owner:  jsiwek
     Type:  Feature Request  |     Status:  new
 Priority:  Normal           |  Milestone:  Bro1.6
Component:  Bro              |    Version:  git/master
 Keywords:                   |
-----------------------------+------------------------
 It would be nicer if, by default, time values were written with a constant
 number of digits after the decimal.  Should we:

 1) Hardcode a constant 6 digit precision
 2) Make the precision a configurable `&redef` option of the writer,
 defaulting to 6
 3) Make a configurable `&redef` option of the writer that can be an
 arbitrary function that takes a time value and returns the formatted
 timestamp string for it, defaulting to a function that returns the 6 digit
 precision (e.g. could also provide a function that returns a human
 readable timestamp string)

-- 
Ticket URL: <http://tracker.bro-ids.org/bro/ticket/508>
Bro Tracker <http://tracker.bro-ids.org/bro>
Bro Issue Tracker



More information about the bro-dev mailing list