1. 26 Apr, 2019 1 commit
  2. 07 Aug, 2018 1 commit
    • Julien Muchembled's avatar
      Use argparse instead of optparse · 9f1e4eef
      Julien Muchembled authored
      Besides the use of another module for option parsing, the main change is that
      there's no more Config class that mixes configuration for different components.
      Application classes now takes a simple 'dict' with parsed values.
      
      The changes in 'neoctl' are somewhat ugly, because command-line options are not
      defined on the command-line class, but this component is likely to disappear
      in the future.
      
      It remains possible to pass options via a configuration file. The code is a bit
      complex but isolated in neo.lib.config
      
      For SSL, the code may be simpler if we change for a single --ssl option that
      takes 3 paths. Not done to not break compatibility. Hence, the hack with
      an extra OptionList class in neo.lib.app
      
      A new functional test tests the 'neomigrate' script, instead of just the
      internal API to migrate data.
      9f1e4eef
  3. 17 Dec, 2013 1 commit
  4. 20 Mar, 2012 1 commit
    • 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
  5. 13 Mar, 2012 1 commit
  6. 09 Sep, 2011 1 commit
  7. 15 Jun, 2011 1 commit
  8. 14 Jun, 2011 1 commit
  9. 08 Feb, 2011 1 commit
  10. 11 Jan, 2011 1 commit
  11. 13 Dec, 2010 1 commit
  12. 10 Nov, 2010 1 commit
  13. 09 Nov, 2010 1 commit
  14. 15 Apr, 2010 1 commit
  15. 23 Mar, 2010 1 commit
  16. 08 Mar, 2010 2 commits
  17. 16 Feb, 2010 1 commit
  18. 14 Feb, 2010 2 commits
  19. 13 Feb, 2010 1 commit
  20. 12 Feb, 2010 2 commits
  21. 11 Feb, 2010 1 commit