Smarts writes to the syslog facility (usually in /var)
search cancel

Smarts writes to the syslog facility (usually in /var)

book

Article ID: 304281

calendar_today

Updated On:

Products

VMware Smart Assurance Network Observability

Issue/Introduction

  • Why does Smarts write to the syslog facility (usually in /var)?

  • What messages/logs from Smarts gets logged to /var/log/messages?
    Some of the information written to a Smarts log file is also sent to the system logger.  

Environment

Smarts 10.1.X, 24.3.X

Resolution

Every Smarts error message has an associated severity.  If you look at a message in the log file, you'll see something of the form  "CI-F-something".  The -F- is the severity - in this case, Fatal.  The possible values, from most to least severe are:
Fatal, Error, Warning, Normal, and Debug.

By default, errors of level Warning and above go to the log file, and those of level Error or above are sent to the system logger.  These defaults can be changed using the --errlevel and --loglevel startup options.

  • --errlevel sets the threshold for writing to the log
  • --loglevel sets the threshold for  writing to the system logging facility.

Either option can use a "level" of None to disable logging completely.