
3 The License Server Administration Tool
3.6 Logging configuration
If required, all license transactions can be logged via the standard syslog daemon services. Information is logged as a LOG_USER facility at the LOG_USER or LOG_WARNING level. System administrators can tailor the types and amount of information logged with the -loglevel option. Log level switches control logged output as shown in Table 3.1.
Log-level switches.
| Bit | Policy | Description |
| 1 | WARNING | All warning and error messages -- logged at system LOG_WARN level. |
| 2 | INFO | Information messages, mainly during start-up. |
| 3 | ADMIN | Changes via the administration tool hqn_lsa. |
| 4 | LICENSE | All license transactions. Control output via the license flags at bits 5-10 (listed below). |
| 5 | PRODUCT | Output the full product name on each transaction. |
| 6 | HOSTNAME | Output the name of the product host. |
| 7 | HOSTADDR | Output the Internet address of the product host. |
| 8 | USERNAME | Output the name of the user of the product. |
Log settings are turned off by appending a hypen ("-") to the switch name. For example,
unix> hqn_lsa-<platform> -lg exterr-
turns off extra error logging. In addition some standard settings are provided, as listed below. Each standard setting has a configuration of log settings automatically switched on, as in Table 3.2.
Log settings.
| Name | Log settings on |
| DEFAULT | WARNING INFO ADMIN LICENSE PRODUCT HOSTNAME USERNAME |
| SMALL | WARNING INFO ADMIN LICENSE HOSTNAME USERNAME |
| FULL | DEFAULT HOSTADDR UID EXTERR |
| MINIMAL | WARNING ADMIN LICENSE HOSTADDR UID |
| EXTRA | FULL DOMAIN |
| NONE | No logging |
hqn_lsd starts up with the default standard setting, plus extra error logging turned on. The -f option on hqn_lsd's command line may be used to turn on domain logging during start-up.
MLWorks Guide to the License Server - 17 JAN 1997

Generated with Harlequin WebMaker