| 1 |
DAT Environment Guide v. 0.01 |
| 2 |
----------------------------- |
| 3 |
|
| 4 |
The following environment variables affect the behavior of the DAT |
| 5 |
library: |
| 6 |
|
| 7 |
|
| 8 |
DAT_OVERRIDE |
| 9 |
------------ |
| 10 |
Value used as the static registry configuration file, overriding the |
| 11 |
default location, /etc/dat.conf |
| 12 |
|
| 13 |
Example: setenv DAT_OVERRIDE /path/to/my/private.conf |
| 14 |
|
| 15 |
|
| 16 |
DAT_DBG_TYPE |
| 17 |
------------ |
| 18 |
|
| 19 |
Value specifies which parts of the registry will print debugging |
| 20 |
information, valid values are |
| 21 |
|
| 22 |
DAT_OS_DBG_TYPE_ERROR = 0x1 |
| 23 |
DAT_OS_DBG_TYPE_GENERIC = 0x2 |
| 24 |
DAT_OS_DBG_TYPE_SR = 0x4 |
| 25 |
DAT_OS_DBG_TYPE_DR = 0x8 |
| 26 |
DAT_OS_DBG_TYPE_PROVIDER_API = 0x10 |
| 27 |
DAT_OS_DBG_TYPE_CONSUMER_API = 0x20 |
| 28 |
DAT_OS_DBG_TYPE_ALL = 0xff |
| 29 |
|
| 30 |
or any combination of these. For example you can use 0xC to get both |
| 31 |
static and dynamic registry output. |
| 32 |
|
| 33 |
Example setenv DAT_DBG_TYPE 0xC |
| 34 |
|
| 35 |
DAT_DBG_DEST |
| 36 |
------------ |
| 37 |
|
| 38 |
Value sets the output destination, valid values are |
| 39 |
|
| 40 |
DAT_OS_DBG_DEST_STDOUT = 0x1 |
| 41 |
DAT_OS_DBG_DEST_SYSLOG = 0x2 |
| 42 |
DAT_OS_DBG_DEST_ALL = 0x3 |
| 43 |
|
| 44 |
For example, 0x3 will output to both stdout and the syslog. |
| 45 |
|