Hello,
To clear main log files you can simply run:
nxserver –logrotate
This will clean main log files, archive and save old logs under /usr/NX/var/log/logrotate/ directory.
Saved files will be greatly reduced in size, but if you want you can delete them after logrotate
procedure has finished.
It’s also possible to set automatic log rotation https://www.nomachine.com/FR01L02806
There are also session log files usually it shouldn’t take large space, but if you want to clean them
you can do it by:
rm -rf /var/log/node/T-*
rm -rf /var/log/node/F-*
rm -rf /.nx/F-*
rm -rf /.nx/T-*
and in case you are using latest release:
rm -rf /.nx/node/F-*
rm -rf /.nx/node/T-*