Quantcast
Channel: VMware Communities : Unanswered Discussions - vCenter™ Server
Viewing all articles
Browse latest Browse all 3506

Testing of VCSA Syslog Output

$
0
0

Part of our qualification testing requires me to show that the appropriate levels of Syslog get from VCSA 6.7u2 to our Syslog server. The setting is "Warning" for logging options.

 

If I log into VCSA via SSH and issue "logger" commands I see logs getting to the Syslog server, but they don't seem to be reflecting the facility and severity levels I specify on the CLI.

 

If I do:

logger -p syslog.info "Test Info"

I see a log message appear in the Syslog server with facility code 1 and severity 5. I would expect severity 6. And how did this get past the filters for "Warning" logging options?

 

If I do:

logger -p syslog.emerg "Test Emerg"

I see a log message appear in the Syslog server with facility code 1 and severity 5 again! What happened to severity 0?

 

Am I doing something wrong? Or are my expectations miss placed as to what should happen?

 

How should I show deliberately and on demand that logs of the right level get through to the Syslog server and others do not?

 

Ideas much appreciated, thanks.

 

 


Viewing all articles
Browse latest Browse all 3506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>