Katerina Koukiou
|
d895f5d6fc
|
logging.py: Don't change log level of the root logger to bigger numeric value
|
2018-03-26 10:11:49 +02:00 |
Bruno Oliveira
|
dfbaa20240
|
Bring test_live_logs_unknown_sections directly due to merge conflicts
|
2018-02-17 09:36:46 -02:00 |
Pedro Algarvio
|
d776e5610e
|
Fix issue where a new line was always written for the live log finish section
|
2018-02-09 11:17:01 +00:00 |
Pedro Algarvio
|
0b71255dda
|
Expose `log_cli` as a CLI parser option.
|
2018-02-08 09:42:53 +00:00 |
Pedro Algarvio
|
67558e0e22
|
Additionally handle logstart and logfinish hooks
|
2018-02-06 15:45:36 +00:00 |
Bruno Oliveira
|
113bfb6be8
|
Report 'call' phase as 'live log call'
As commented in review, this makes it consistent with the headers shown
by stdout/stderr capturing ("Captured log call")
|
2018-01-22 21:43:35 -02:00 |
Bruno Oliveira
|
9f4688e549
|
Remove unnecessary -s from test_log_cli_enabled_disabled
|
2018-01-22 21:26:14 -02:00 |
Bruno Oliveira
|
3a9d0b26d5
|
Use pytest_runtest_logstart to signal the start of a new test
This also simplifies the code a bit because we don't need to keep
a set of ids anymore
|
2018-01-22 21:20:48 -02:00 |
Bruno Oliveira
|
0df42b4426
|
Show a header for each testing phase during live logging
As suggested during review
|
2018-01-22 21:00:52 -02:00 |
Bruno Oliveira
|
18e053546c
|
Use six.StringIO and __name__ in test_live_logging_suspends_capture
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
9dbcac9af3
|
Suspend stdout/stderr capturing when emitting live logging messages
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
4a436572a8
|
Simplify test assertions a bit
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
8f6a5928f7
|
Add newline before log messages and enable -v output when log_cli is enabled
|
2018-01-20 12:02:55 -02:00 |
Bruno Oliveira
|
5d89a93977
|
Small improvements to tests suggested during review
|
2018-01-20 12:02:54 -02:00 |
Bruno Oliveira
|
8d735f3e1d
|
Live log option now writes to the terminal reporter
Ref: #3013
|
2018-01-20 12:01:42 -02:00 |
Bruno Oliveira
|
8dcd2718aa
|
No longer change the level of any logger unless requested explicitly
Ref: #3013
|
2018-01-20 12:01:42 -02:00 |
Bruno Oliveira
|
5ad1313b8a
|
log_cli must now be enabled explicitly
Ref: #3013
|
2018-01-20 12:00:46 -02:00 |
Thomas Hisch
|
0e83511d6d
|
Rename name of registered logging plugin
|
2017-10-12 02:19:24 +02:00 |
Thomas Hisch
|
6607478b23
|
Add unittests for LoggingPlugin (excluding perf tests)
|
2017-09-22 22:27:49 +02:00 |