Syntax
pmlogsrvd [-d | --debug] [-h | --help] [--log-level <level>] [--no-detach]
[--once] [-q | --queue <queue_path>] [--syslog [facility]]
[-t | --timeout <delay_seconds>] [-v | --version] [-z on|off [:<pid>]] Description
pmlogsrvd is the Privilege Manager for Unix log access daemon, the service responsible for committing events to the Privilege Manager for Unix event log, and managing the database storage used by the event log.
When an incoming event is processed by pmmasterd that event must be logged to the event log. pmmasterd commits a record of the log to the event log queue, which is monitored by pmlogsrvd. pmlogsrvd takes each event from the queue and commits that event to the actual event log.
Options
pmlogsrvd has the following options.
| Option | Description |
|---|---|
|
-d | --debug |
Enables debug operation. This option prevents pmlogsrvd from running in the background, and enables debug output to both the log and the terminal. |
|
-h | --help |
Displays the usage information and exits. |
|
--log-level <level> |
Controls the level of log messages included in the log file. By default the logging level logs only error messages. Valid logging levels, in ascending order by volume of messages, are:
|
|
--no-detach |
Do not run in the background or create a pid file. By default, pmlogsrvd forks and runs as a background daemon. When you specify the --no-detach option, it stays in the foreground. |
|
--once |
Processes the queue once immediately and then exits. |
|
-q | --queue <path> |
Specifies the location of the event log queue as path. |
|
--syslog |
Enables logging to syslog. |
|
-t | --timeout <delay_seconds> |
Specifies the time delay between processing the queue as time seconds. By default pmlogsrvd waits for 120 seconds before waking to scan the event log queue if no other trigger causes it to begin processing. Normally processing is triggered directly by pmmasterd immediately after an event is processed. |
|
-v | --version |
Displays the version number of Privilege Manager for Unix and exits. |
|
-z |
Enables or disables debug tracing. Before using this option, see Enabling program-level tracing. |
Settings
pmlogsrvd uses the following entries in the /etc/opt/quest/qpm4u/pm.settings file.
| Setting | Description |
|---|---|
|
eventLogQueue <pathname> |
Specifies the location of the event log queue, used by both pmmasterd and pmlogsrvd. This setting is ignored by pmlogsrvd when you use the --queue option on the command line. |
|
pmlogsrvlog <pathname> |
Fully qualified path to the pmlogsrvd log file. |
|
syslog yes|no |
By default, /pmlogsrvd/fR used this setting to determine whether to send log messages to syslog. When you use the /syslog/fR option on the command line, this setting is ignored. |
Files
-
settings file: /etc/opt/quest/qpm4u/pm.settings
-
pid file: /var/opt/quest/qpm4u/evcache/pmlogsrvd.pid