Update doc/en/how-to/logging.rst

Co-authored-by: Bruno Oliveira <nicoddemus@gmail.com>
This commit is contained in:
Zac Hatfield-Dodds 2022-04-22 09:14:46 -07:00 committed by GitHub
parent c068196969
commit 0e56ebaa68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -198,9 +198,8 @@ option names are:
If you need to record the whole test suite logging calls to a file, you can pass If you need to record the whole test suite logging calls to a file, you can pass
``--log-file=/path/to/log/file``. This log file is opened in write mode which ``--log-file=/path/to/log/file``. This log file is opened in write mode which
means that it will be overwritten at each run tests session. means that it will be overwritten at each run tests session.
Note that relative paths for the log-file location are always resolved relative Note that relative paths for the log-file location, whether passed on the CLI or declared in a
to the current working directory, whether passed on the CLI or declared in a config file, are always resolved relative to the current working directory.
config file.
You can also specify the logging level for the log file by passing You can also specify the logging level for the log file by passing
``--log-file-level``. This setting accepts the logging level names as seen in ``--log-file-level``. This setting accepts the logging level names as seen in