NSX CLI Guide

Associated Commands:

CLI Description Command

Display global logging configuration


Display global logging configuration.
get service controller logging-config

Display configuration for logger with given log level


Display the logging configuration for components that have the specified log level.
get service controller logging-config logging-level <controller-logging-level-arg>

Display configuration for given logger


Display the logging configuration for the specified component.
get service controller logging-config name <string-arg-controller>

Display configuration for loggers matching to given regex


Display the logging configuration for components that match the specified pattern. The pattern can be a regular expression.
get service controller logging-config pattern <string-arg-controller>

Display the controller service logging level


Display the log level for the controller service.
get service controller logging-level

Get the local-controller service logging level


Display the log level of the local-controller service.
get service local-controller logging-level

Get local-controller service state


Display the state of the local controller service.
get service local-controller state

Show the remote site(s) and their sync status


Display the remote sites along with their sync status.
get site-replicator remote-sites

Set the controller service logging level


Set the log level for the controller service.
set service controller logging-level <controller-logging-level-arg>

Set log level for given logger


Set the log level for the specified component.
set service controller logging-level name <string-arg-controller> <controller-logging-level-arg>

Set log level for loggers matching regex


Set the log level for components that match the specified pattern. The pattern can be a regular expression.
set service controller logging-level pattern <string-arg-controller> <controller-logging-level-arg>

Set the Local Controller service logging level


Set the log level of the Local Controller service.
set service local-controller logging-level <edge-service-logging-level-arg>

Total commands: 12