5 Commits

Author SHA1 Message Date
Peter Sabaini
de28ce7bdb Fix logging.conf sample
Use formatter from oslo_log instead of tempest.openstack.common.log
which got removed as of 583ce2c043a64778ae20a957f10cd5029e2e3230

Change-Id: I0d9334c51d50f649fdb7e34fd7c2f3d807b80601
2015-04-29 17:15:32 +02:00
Attila Fazekas
54236ee3e9 Stress runner friendly logging.conf.sample
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
2014-02-24 20:45:54 +01:00
Marc Koderer
b714de586f Change logging in stress test
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
2013-08-08 15:10:29 +02:00
Mitsuhiko Yamazaki
46818aaad8 Configure logging format flexibly
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
2013-05-24 17:22:35 +09:00
Mitsuhiko Yamazaki
6ffa59c881 Add logging configuration
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
2013-04-12 17:34:45 +09:00