[elbe-devel] [PATCH v2 00/28] Sane Logging

dion at linutronix.de dion at linutronix.de
Fri Jun 21 19:39:52 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
  

Olivier Dion (28):
  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 buildchroot
  Add logging to stdout for command buildsysroot
  Add logging to stdout for command chroot
  Add logging to stdout for command gen_update
  Add logging to stdout for command fetch_initvm_pkgs
  Add logging to stdout for command genlicense
  Add logging to opt.output for command hdimg
  Add logging to opt.output for command toolchainextract
  Add logging to opt.output for command adjustpkgs
  Add logging to opt.log for command mkcdrom
  Async logging for rpcaptcache
  Nuke ASCIIDocLog from BuildEnv
  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
  Remove "asciidoclog.py" from ELBE

 elbepack/asciidoclog.py                | 123 ------------
 elbepack/asyncworker.py                | 331 +++++++++++++++------------------
 elbepack/cdroms.py                     | 105 ++++-------
 elbepack/commands/adjustpkgs.py        |  20 +-
 elbepack/commands/buildchroot.py       |  54 +++---
 elbepack/commands/buildsdk.py          |  18 +-
 elbepack/commands/buildsysroot.py      |  18 +-
 elbepack/commands/chroot.py            |  56 +++---
 elbepack/commands/fetch_initvm_pkgs.py | 169 ++++++++---------
 elbepack/commands/gen_update.py        |  43 +++--
 elbepack/commands/genlicence.py        |  18 +-
 elbepack/commands/hdimg.py             |  22 ++-
 elbepack/commands/mkcdrom.py           | 104 +++++------
 elbepack/commands/toolchainextract.py  |  20 +-
 elbepack/daemons/soap/esoap.py         |  13 +-
 elbepack/db.py                         |   3 +-
 elbepack/dump.py                       | 102 +++++-----
 elbepack/efilesystem.py                |  44 +++--
 elbepack/elbeproject.py                | 256 ++++++++++++-------------
 elbepack/filesystem.py                 |   9 +-
 elbepack/finetuning.py                 | 268 +++++++++++++-------------
 elbepack/fstab.py                      |   8 +-
 elbepack/hdimg.py                      | 201 ++++++++++----------
 elbepack/log.py                        | 176 ++++++++++++++++++
 elbepack/packers.py                    |  22 +--
 elbepack/pbuilder.py                   |   2 +-
 elbepack/pkgarchive.py                 |  53 ++----
 elbepack/pkgutils.py                   |  28 ++-
 elbepack/projectmanager.py             |  34 +---
 elbepack/repomanager.py                |  86 ++++-----
 elbepack/rfs.py                        | 151 +++++++--------
 elbepack/rpcaptcache.py                |  71 ++++---
 elbepack/shellhelper.py                |  68 +++++++
 elbepack/soapclient.py                 |  30 +--
 elbepack/updatepkg.py                  |   9 +-
 35 files changed, 1329 insertions(+), 1406 deletions(-)
 delete mode 100644 elbepack/asciidoclog.py
 create mode 100644 elbepack/log.py

-- 
2.11.0




More information about the elbe-devel mailing list