CLI has a logging function that makes an entry into a log file for each command line that makes a change to the controller configuration (for example, add/delete units). Both CLI and 3DM2 have this logging function and it is enabled by default.
Set the environment variable TW_CLI_LOG to ON or OFF to enable or disable logging of controller commands into a log file called tw_mgmt.log.
By default, TW_CLI_LOG is set to OFF. The command to start command logging varies by operating system.
Note that ProgramData is a hidden folder by default. To display it in Windows Explorer, enter
c:\ProgramData in the location field at the top of the Explorer Window. To make the folder permanently visible, select
Organize > Folder and Search Options from the Explorer menu, choose the
View tab, and select the
Show hidden files and folders option in
Advance settings.
In Linux, and FreeBSD, the log file is in the directory