Document __cdist_loglevel values.

This commit is contained in:
Darko Poljak 2017-09-06 21:47:53 +02:00
parent b0cbd8f5bd
commit 97332833bc
2 changed files with 13 additions and 0 deletions

View file

@ -198,6 +198,11 @@ Environment variables (for reading)
----------------------------------- -----------------------------------
The following environment variables are exported by cdist: The following environment variables are exported by cdist:
__cdist_loglevel
Value of cdist log level. One of 60, 40, 30, 20, 15, 10 and 5 where
the meaning is OFF, ERROR, WARNING, INFO, VERBOSE, DEBUG and TRACE,
respectively.
Available for: initial manifest, type manifest, type gencode.
__explorer __explorer
Directory that contains all global explorers. Directory that contains all global explorers.
Available for: initial manifest, explorer, type explorer, shell. Available for: initial manifest, explorer, type explorer, shell.

View file

@ -331,6 +331,14 @@ So when you generate a script with the following content, it will work:
fi fi
Log level in types
------------------
cdist log level can be accessed from __cdist_loglevel variable.
Value is one of 60, 40, 30, 20, 15, 10 and 5 where the meaning is
OFF, ERROR, WARNING, INFO, VERBOSE, DEBUG and TRACE, respectively.
It is available for initial manifest, type manifest and type gencode.
Hints for typewriters Hints for typewriters
---------------------- ----------------------
It must be assumed that the target is pretty dumb and thus does not have high It must be assumed that the target is pretty dumb and thus does not have high