[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RFC XEN PATCH 11/13] pytest: Add config to enable live log, and disable ssh/paramiko logging



From: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Signed-off-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>
---
 automation/pytest/pytest.toml | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 automation/pytest/pytest.toml

diff --git a/automation/pytest/pytest.toml b/automation/pytest/pytest.toml
new file mode 100644
index 000000000000..ef61ff74ab47
--- /dev/null
+++ b/automation/pytest/pytest.toml
@@ -0,0 +1,9 @@
+[pytest]
+addopts = [
+    "--log-disable=paramiko.transport",
+    "--log-disable=paramiko.transport.sftp",
+]
+log_cli_format = "%(asctime)s %(levelname)s %(message)s"
+log_cli_date_format = "%H:%M:%S"
+log_cli_level = "DEBUG"
+log_cli = true
-- 
Anthony PERARD




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.