You can use logs that are in the various NSX components and on the hosts to detect and troubleshoot problems.

For the list of NSX and host log files, see "Infrastructure Preparation" in the NSX Troubleshooting Guide.