diff options
author | Yann Ylavic <ylavic@apache.org> | 2023-07-07 13:03:17 +0200 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2023-07-07 13:03:17 +0200 |
commit | 63a550e9693f6ebcfde7dc97e403fda67556b1db (patch) | |
tree | 42bfd9943d728bb03f5e0c2489ba40b1faaeab03 | |
parent | * support/ab.c (ssl_proceed_handshake): Fix X509 * leak. (diff) | |
download | apache2-63a550e9693f6ebcfde7dc97e403fda67556b1db.tar.xz apache2-63a550e9693f6ebcfde7dc97e403fda67556b1db.zip |
pytest: Fine tuning for LogLevel vs -v^n.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910848 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | test/pyhttpd/env.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/test/pyhttpd/env.py b/test/pyhttpd/env.py index 5a2525c92d..0df1fd7a70 100644 --- a/test/pyhttpd/env.py +++ b/test/pyhttpd/env.py @@ -569,12 +569,17 @@ class HttpdTestEnv: fd.write('\n'.join(self._httpd_base_conf)) fd.write('\n') fd.write(f"CoreDumpDirectory {self._server_dir}\n") - if self._verbosity >= 2: - fd.write(f"LogLevel core:trace5 {self.mpm_module}:trace5 http:trace5\n") + fd.write('\n') if self._verbosity >= 3: - fd.write(f"LogLevel dumpio:trace7\n") + fd.write(f"LogLevel trace7 ssl:trace6\n") fd.write(f"DumpIoOutput on\n") fd.write(f"DumpIoInput on\n") + elif self._verbosity >= 2: + fd.write(f"LogLevel debug core:trace5 {self.mpm_module}:trace5 ssl:trace5 http:trace5\n") + elif self._verbosity >= 1: + fd.write(f"LogLevel info\n") + else: + fd.write(f"LogLevel warn\n") if self._log_interesting: fd.write(self._log_interesting) fd.write('\n\n') |