Is There a Way to Turn on Trace Logging for WebDAV on Linux RT?

Updated Feb 22, 2024

Issue Details

I'm using the LabVIEW WebDAV VIs and getting a very unhelpful WebDAV error, -124201 ("An unknown internal error has occurred"). I was wondering if there was any way to turn on trace logging that might help me get more information. I tried turning on all TRCTAGs in ws_runtime.cfg on the Linux RT target, but that didn't seem to do anything. Is there a way to turn on trace logging for WebDAV?

Solution

WebDAV on RT is an Appweb module, not a web service, so it logs to the system web server log at /etc/natinst/appweb/NISystemWebServer.conf. To get WebDAV traces, increase the verbosity in the conf file by adding level=4 to the ErrorLog line. The traces will appear in /var/local/natinst/log/SystemWebServer.log.