Changes between Initial Version and Version 2 of Ticket #239


Ignore:
Timestamp:
2008-01-05T05:59:51Z (16 years ago)
Author:
warner
Comment:

updated to use FLOGFILE= and to use .bz2-compressed event pickles.

The intention for production nodes is to use the "log gatherer" feature to automatically send all log events to the central gatherer.

Eventually, my plan is to have one logfile to which major events are written, and then have minor events only get written (to the pickle) when things go wrong. But we're only halfway there, and I fear that we've got the wrong half done so far, resulting in fewer log messages recorded rather than too many.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #239 – Description

    initial v2  
    33Unfortunately the way to use it currently requires a couple of manual steps:
    44
    5 1.  pass {{{FLOGTOOL=flog.pickle}}} and {{{FLOGTWISTED=1}}} environment variables to the tahoe process
     51.  pass {{{FLOGFILE=flog.pickle.bz2}}} and {{{FLOGTWISTED=1}}} environment variables to the tahoe process
    66
    772.  find the resulting {{{flog.pickle}}} file (in your {{{~/.tahoe}}} directory)
    88
    9 3.  run {{{flogtool dump flog.pickle}}} on it to get a text output
     93.  run {{{flogtool dump flog.pickle.bz2}}} on it to get a text output
    1010
    11 3.b.  alternately, run {{{flogtool web-viewer flog.pickle}}} on it to get a nice HTML view with indentation and coloration
     113.b.  alternately, run {{{flogtool web-viewer flog.pickle.bz2}}} on it to get a nice HTML view with indentation and coloration
    1212
    1313