[elbe-devel] [PATCH v1 0/2] Better logging for RPCAPTCache
dion at linutronix.de
dion at linutronix.de
Tue May 28 14:43:07 CEST 2019
From: Olivier Dion <dion at linutronix.de>
This patch aim to improve logging in RPCAPTCache worker.
Callers should pass a logging reference to 'get_rpcaptcache'
instead of a filename.
If the log object is open, the forked process redirect its
outputs to the file descriptor of the log object. Otherwise
it will open the file name of the log in append mode with no
buffering.
Olivier Dion (2):
Add decorator for RPCAPTCache to register to base manager
RPCAPTCache now duplicate file descriptor
elbepack/cdroms.py | 6 +++---
elbepack/elbeproject.py | 2 +-
elbepack/finetuning.py | 2 +-
elbepack/rpcaptcache.py | 54 ++++++++++++++++++++++++++++++++-----------------
4 files changed, 41 insertions(+), 23 deletions(-)
--
2.11.0
More information about the elbe-devel
mailing list