![]() |
CAPS Universe documentation
1.0.4
All you need to know to be successful
|
Using the other available methods to change the verbosity might be too late for the interesting part of your own application start-up. In this case you can use an environment variable to do some kind of early verbosity setup.
The environment variable CAPS_START_VERBOSITY can be used to overwrite the regular start-up verbosity level of LIBCAPS_VERBOSITY_DEFAULT. You can use the same verbosity words as defined in CAPS universe verbosity setup via INI File to define the start-up verbosity level.
For example:
CAPS_START_VERBOSITY=noisy caps-printing-coordinator
All executables related to the printing coordinator use a shared and an individual set of run-time INI files to support a generic way to configure their verbosity level.
By adding the following entry to a carefully selected INI file, you can limit the verbosity change to a specific component of the CAPS universe or set it for all components at once.
Examples: if you modify the
caps.inifile, all CAPS universe components are affected. When modifying thecapsdriver.inifile instead, only printer drivers are affected (but all at once), but not the printing coordinator itself.
The entry to add is the section [debug] and the keyword verbosity:
[debug] verbosity=<level>
The supported level words are:
panic sets up LIBCAPS_PANICerror sets up LIBCAPS_ERRORwarn sets up LIBCAPS_WARNinfo sets up LIBCAPS_INFOloud sets up LIBCAPS_LOUDnoisy sets up LIBCAPS_NOISYdebug sets up LIBCAPS_DEBUG