HP Device Manager 4.5 - Installation Guide

37
Log settings
HPDM Server outputs logs to a rolling file named hpdm-server.log.
Parameter Description
hpdm.log.level=WARN
This parameter indicates log levels to write into the log file. The log levels in the Server
are:
DEBUG = 1: Logs for developer debugging.
INFO = 2: Logs of running information, contain no errors.
WARN = 3: Logs with warning, something unexpected happened.
FATAL = 4: Logs of fatal errors or what must be logged, such as server start.
Setting log levels to XXX will make the Server write specified logs of no lower than XXX to
the log file. For example, when setting the log level to INFO, the Server will write INFO,
WARN, and FATAL logs since the next start.
hpdm.log.dailyRolling=false
This parameter specifies whether the log will be appended with a daily rolling. If set to
true, the following two configurations (hpdm.log.maxBackupIndex and
hpdm.log.maxFileSize) are ignored.
hpdm.log.maxBackupIndex=10
This parameter indicates the maximum number of log files the Server will keep.
hpdm.log.maxFileSize=5MB
This parameter indicates the maximum size of each log file.
hpdm.log.gateway=false
This parameter indicates whether the Server should write logs about communicating with
HPDM Gateway.
hpdm.log.console=false
This parameter indicates whether the Server should write logs about communicating with
HPDM Console.
hpdm.log.task=false
This parameter indicates whether the Server should write logs about tasks.
hpdm.log.db=false
This parameter indicates whether the Server should write logs about database
operations.
Cache settings
Parameter Description
hpdm.cache.enabled=true
This parameter indicates whether the Server should keep a cache in memory to speed up
reaction to Consoles.