To modify the log level of the Likewise agent in VMware vCenter Server Appliance:
Note: By default, Likewise agents on the appliance log to /var/log/messages with INFO log level.The messages in /var/log/messages are tagged with lwsmd.
- Run this command to identify the current log level and location:
# /opt/likewise/bin/lwsm get-log
syslog: LOG_DAEMON
# /opt/likewise/bin/lwsm get-log-level
INFO
- Run this command to modify the log level:
# /opt/likewise/bin/lwsm set-log-level loglevel
Where loglevel can be always, error, warning, info, verbose, debug, trace.
Note: In VCSA 6.5 and 6.7 the log levels must be set by individual service.
Example:
/opt/likewise/bin/lwio-set-log-info trace
/opt/likewise/bin/lw-set-log-level trace
/opt/likewise/bin/lwnet-set-log-level trace