mirror of
https://github.com/apache/httpd.git
synced 2025-07-29 12:37:06 +00:00
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
This commit is contained in:
@ -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')
|
||||
|
Reference in New Issue
Block a user