1. 18 Jan, 2021 2 commits
    • Jérome Perrin's avatar
      cli: Output on the console even with --log-file · d7b52a1a
      Jérome Perrin authored
      In 51f89902 (slapos/cli/entry.py, slapos/cli/format.py, slapos/format.py:
      Do not double the log output when "slapos node boot" failed., 2017-05-11)
      we fixed a problem that every failure during boot causing twice more output
      (which filled up the disk very fast), but a side effect was that using
      --log-file no longer cause messages to also go to the console.
      
      The "Always send higher-level messages to the console via stderr" comment
      in entry.py seems that this was always intentional to output messages on
      the console.
      
      Keep the same "don't configure again logging system when it's already
      configured", but implemented in a slightly different way, because since
      a FileHandler is a StreamHandler, the check of already having a
      StreamHandler was true also for the case where --log-file added a
      FileHander (a few lines above, also in configure_logging method)
      d7b52a1a
    • Jérome Perrin's avatar
      test_cli: fix mock wrong method · 00793079
      Jérome Perrin authored
      this test checks "slapos node boot" which calls check_root_user after
      importing it in slapos.cli.boot, so we should patch in that module.
      00793079
  2. 31 Dec, 2020 6 commits
  3. 30 Dec, 2020 3 commits
  4. 29 Dec, 2020 5 commits
  5. 28 Dec, 2020 9 commits
  6. 22 Dec, 2020 1 commit
  7. 15 Dec, 2020 2 commits
  8. 14 Dec, 2020 6 commits
  9. 12 Dec, 2020 5 commits
  10. 11 Dec, 2020 1 commit