Use formatter from oslo_log instead of tempest.openstack.common.log
which got removed as of 583ce2c043a64778ae20a957f10cd5029e2e3230
Change-Id: I0d9334c51d50f649fdb7e34fd7c2f3d807b80601
tempest.common.log.TestsFormatter formatter was removed from the tempest
repository. It makes the current sample config file useless.
We will use the same ContextFormatter in the sample config as we use in the
normal runs.
The tempest.log file will be appended, instead of replacing.
The summary of the stress runs will be printed to the stdout.
The syslog handler preserved in the sample config, but it is not in use
anymore. If someone want to use, he can enable it by little change.
NOTE:
You need change tempest.conf [DEFAULT]/log_config_append to point a valid
logging config, if you would like to use special log related
configuration.
Change-Id: Ic6ede3943e309a102d4af6dec505f0d4cbd3bc2b
Stress tests is now using the default tempest logging in order to use
tempest.conf for configuration. Every action registers a logger for
their own (previously they reported always as "stresstest").
Cleanup function is adapted as well.
Implements: bp stress-tests
Change-Id: I571d4b1ad7ced62b5d5b3e7faf8fa1a7e5f9504e
Now we can get tempest log file with options in run_tests.sh.
This adds log.py and enables to configure log format more flexibly
using configuration file.
This adds a LoggerAdaptor and a Formatter to output each test name
to log lines.
Implements: blueprint add-logging-configuration
Change-Id: I88cf18bb8bbc152e62ac83a9c7dc26067b7a11bd
The tempest log can help developers analyze tests but
there is no option in run_tests.sh to enable logging output now.
This adds a logging configuration file and options in run_test.sh
and enables developers to get the tempest log more easily.
Implements: blueprint add-logging-configuration
Change-Id: Iee68a34f5771f1bff88110d95538a5b43103ced9