1. 20 Mar, 2012 3 commits
    • Vincent Pelletier's avatar
      Typo in comment. · 93db2b78
      Vincent Pelletier authored
      93db2b78
    • Julien Muchembled's avatar
      neo.lib.logging.* -> logging.* · 5743cdce
      Julien Muchembled authored
      5743cdce
    • Julien Muchembled's avatar
      Review logging to keep all debugging information in RAM and flush only if useful · 1fce5cc4
      Julien Muchembled authored
      The main goal of this patch is to keep all DEBUG logs and packet logger enabled
      without exploding disk usage.
      This is done by keeping the last 16 MB (by default) of debugging information in
      a RAM buffer, and to emit it to an SQLite DB upon RTMIN signal or in case of
      warning and more severe log.
      
      Implementation is also cleaned up for better integration within a framework
      or if run standalone. NEO logger is now a direct child of root handler.
      Only warnings and more severe logs are forwarded to root handler.
      
      A new script 'neolog' is added to pretty-print the contents of the SQLite log.
      
      In unit tests, logging events are not buffered but emitted immediately.
      When a test passes, payloads of all exchanged packets are discarded to reduce
      disk usage on test bots.
      
      This slows down performance tests by about 15 % because even if nothing is
      written to disk, debug and packet log records are now always rendered.
      1fce5cc4
  2. 19 Mar, 2012 6 commits
  3. 16 Mar, 2012 2 commits
  4. 15 Mar, 2012 2 commits
  5. 14 Mar, 2012 1 commit
  6. 13 Mar, 2012 9 commits
  7. 12 Mar, 2012 4 commits
  8. 01 Mar, 2012 8 commits
  9. 29 Feb, 2012 5 commits