]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
oeqa/utils/httpserver: connect up the request logging
authorRoss Burton <ross.burton@arm.com>
Tue, 31 Jan 2023 11:49:54 +0000 (11:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 1 Feb 2023 13:59:56 +0000 (13:59 +0000)
commit8fc939d942cec1662ca386b87c63f167bb10fd05
tree865657c2d7017f195aaf72cd0e0b75971c45fff7
parent3485df2ff61143aac03d92300b7bac4e5d6b2427
oeqa/utils/httpserver: connect up the request logging

Call logger.info() in the log_message handler so that we get request
logging, and hopefully even error messages.

Create a child logger to be neat and compartmentalise the logging.

Add a __main__ entrypoint so this class can be exercised outside of oeqa.

Remove unused traceback import.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oeqa/utils/httpserver.py