Environment Variables#
A few notes on simply starting PyroLab. When launched from the terminal, PyroLab reads a few environment variables for convenient configuration.
PYROLAB_LOGFILEThe log file to write to. If not set, the default is
pyrolab.logwithin PyroLab’s default data directory (see appdirs).PYROLAB_LOGLEVELThe log level to use. If not set, the default is
INFO.PYROLAB_HUSH_DEPRECATIONIf set, silences all DeprecationWarnings from all modules.
This can be very helpful when debugging to see how the program is progressing, and when the program is being too verbose, it’s easy to silence. Note that including debugging will also include log statements from all of PyroLab’s dependencies.