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 follows:
Bit
|
Switch
|
|
1
|
WARNING
|
All warning and error messages -- logged at system
LOG_WARN
level
|
2
|
INFO
|
Information messages, mainly during startup
|
3
|
ADMIN
|
Changes, via the administration tool
hqn_lsa
|
4
|
LICENSE
|
All license transactions. Control output via the license 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
|
9
|
UID
|
Output the user ID
|
10
|
EXTERR
|
Output extra information on some license 'error' conditions, for example, redirected requests. May be best off on backup servers
|
11
|
DOMAIN
|
Messages relating to domain initialization and validation. Generally only required for checking unusual conditions
|
Log settings are turned off by appending a `
-
' to the switch name. For example,
hqn_lsa -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.
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 startup.
LispWorks Guide to the License Server - 29 Jan 2008