util/log: Add a MESA_LOG_LEVEL environment variable
This lets us control how much logging we want Mesa to do, which is useful in CI where we don't want to collect lots of log spam that then has to be saved somewhere. Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37203>
This commit is contained in:
committed by
Marge Bot
parent
72ba6bbbe3
commit
14c2afcb06
@@ -81,6 +81,10 @@ Core Mesa environment variables
|
||||
purposes (e.g. for driconf option matching, logging, artifact storage,
|
||||
etc.).
|
||||
|
||||
.. envvar:: MESA_LOG_LEVEL
|
||||
|
||||
specifies the maximum log level
|
||||
|
||||
.. envvar:: MESA_LOG_FILE
|
||||
|
||||
specifies a file name for logging all errors, warnings, etc., rather
|
||||
|
||||
Reference in New Issue
Block a user