adding new library logging_manager, a reimplementation of fd_stack's behavior using the logging module.  it's capable of the things fd_stack does (redirect, tee_redirect, restore), but it forces everything to go through the logging module and uses logging handlers to direct output to various files and/or streams.  unfortunately, the requirement that we capture output from subprocess not launched through utils.run() and friends means we still need to do all the forking business that fd_stack does, and it adds a ton of complexity.

obviously nothing is using this yet.  this is just a first step.  the plan is to obsolete fd_stack and parts of subcommand with this code.

Signed-off-by: Steve Howard <showard@google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@3239 592f7852-d20e-0410-864c-8624ca9c26a4
2 files changed