[elbe-devel] [PATCH v4 00/41] Sane Logging

dion at linutronix.de dion at linutronix.de
Mon Jul 8 17:11:05 CEST 2019


From: Olivier Dion <dion at linutronix.de>

* Changelog from v1

  - All logged message used 'logging'
  - Logging handlers are thread specific
  - Soap daemon doesn't read from "log.txt"
  - Change the format of outputs

* Changelog from v2

  - Replace /print/ statements in commands with logging
  - Fix some style issues
  - Soap daemon read from project's  message queue

* Changelog from v3

  - elbe_logging now use "logging method"
  - More detailed commit logs


Olivier Dion (41):
  log.py - New logging system
  do and chroot in 'shellhelper.py'
  ASCIIDocLog compatible with new logging system
  AsyncWorker open logging for project
  Busy wait read from project log queue
  Remove logpath from project manager and db
  Add logging to stdout for command buildsdk
  Add logging to stdout for command buildsysroot
  Add logging to stdout for command chroot
  Add logging to stdout for command fetch_initvm_pkgs
  Add logging to stdout for command genlicense
  Add logging to stdout for command toolchainextract
  Add logging to stdout and project for command gen_update
  Add logging to opt.output for command buildchroot
  Add logging to opt.output for command hdimg
  Add logging to opt.output for command adjustpkgs
  Add logging to opt.log for command mkcdrom
  Async logging for rpcaptcache
  Nuke ASCIIDocLog from BuildEnv and Repos
  Nuke ASCIIDocLog from finetuning
  Nuke ASCIIDocLog from fstab
  Nuke ASCIIDocLog from hdimg
  Nuke ASCIIDocLog from packers
  Nuke ASCIIDocLog from pbuilder
  Nuke ASCIIDocLog from "pkgutils.py"
  Nuke ASCIIDocLog from gen_update_pkg
  Validation and report now use logging
  Fix style for "cdroms.py"
  Fix style for "command/mkcdrom.py"
  Fix style for "packers.py"
  Fix style in "efilesystem.py"
  Fix style in adjustpkgs.py
  Fix style in dump.py
  Fix style in repomanager.py
  Fix style in finetuning.py
  Fix style in hdimg.py
  Fix style in pkgarchive.py
  Fix style for pkgutils.py
  Fix style in rfs.py
  Fix style in elbeproject.py
  Add 'logging' and missing 'do' to updatepkg.py

 elbepack/asciidoclog.py                | 104 ++--------
 elbepack/asyncworker.py                | 331 ++++++++++++++----------------
 elbepack/cdroms.py                     | 105 +++-------
 elbepack/commands/adjustpkgs.py        |  28 ++-
 elbepack/commands/buildchroot.py       |  53 ++---
 elbepack/commands/buildsdk.py          |  18 +-
 elbepack/commands/buildsysroot.py      |  18 +-
 elbepack/commands/chroot.py            |  55 ++---
 elbepack/commands/fetch_initvm_pkgs.py | 169 +++++++---------
 elbepack/commands/gen_update.py        |  46 +++--
 elbepack/commands/genlicence.py        |  18 +-
 elbepack/commands/hdimg.py             |  22 +-
 elbepack/commands/mkcdrom.py           |  99 +++++----
 elbepack/commands/toolchainextract.py  |  21 +-
 elbepack/daemons/soap/esoap.py         |  13 +-
 elbepack/db.py                         |   3 +-
 elbepack/dump.py                       | 131 ++++++------
 elbepack/efilesystem.py                |  57 +++---
 elbepack/elbeproject.py                | 357 ++++++++++++++-------------------
 elbepack/filesystem.py                 |   9 +-
 elbepack/finetuning.py                 | 269 ++++++++++++-------------
 elbepack/fstab.py                      |   8 +-
 elbepack/hdimg.py                      | 339 ++++++++++++-------------------
 elbepack/log.py                        | 224 +++++++++++++++++++++
 elbepack/packers.py                    |  20 +-
 elbepack/pbuilder.py                   |   2 +-
 elbepack/pkgarchive.py                 |  54 ++---
 elbepack/pkgutils.py                   |  36 ++--
 elbepack/projectmanager.py             |  34 +---
 elbepack/repomanager.py                | 110 ++++------
 elbepack/rfs.py                        | 158 +++++++--------
 elbepack/rpcaptcache.py                |  79 +++++---
 elbepack/shellhelper.py                |  61 ++++++
 elbepack/soapclient.py                 |  31 +--
 elbepack/updatepkg.py                  |  30 ++-
 35 files changed, 1497 insertions(+), 1615 deletions(-)
 create mode 100644 elbepack/log.py

-- 
2.11.0




More information about the elbe-devel mailing list