This is an old revision of the document!
To view the current level and target of logging of a service, enter the following command:
/opt/pbis/bin/lwsm get-log <service>
For example, entering the following command
/opt/pbis/bin/lwsm get-log lsass
produces the following result
<default>: syslog LOG_DAEMON at ERROR
This indicates that the lsass service's default log level is error and is directed to syslog’s daemon facility.
/opt/pbis/bin/lwsm set-log-target <service> <facility> file <path>
Example:
/opt/pbis/bin/lwsm set-log-target lsass - file /var/log/lsass.log
/opt/pbis/bin/lwsm set-log-level <service> <facility> <loglevel>
Example:
/opt/pbis/bin/lwsm set-log-level lsass – debug