Follow

How to mass-enable Connector ID Key DEBUG Logging

Product:  Stratusphere FIT/UX         

Product Version:  ALL

Updated: Aug 16, 2016

This requires psexec.exe from Sysinternals and a machinelist.txt file with one resolvable machine name or IP per line in the current directory.  To roll out debug mode, you'd need a copy of the LOGCONFIG file already set to debug mode (LOGLEVEL 7) and a batch file on a network share:  (assumes you can execute from a network share and that these are 64-bit machines, if 32-bit, take out the (x86) from all of the paths.)

psexec @machinelist.txt -s -d \\server\share\folder\debug.bat

Then in the debug.bat:

@echo off

"C:\Program Files (x86)\Liquidware Labs\Connector ID\idcontrol.exe" stop

move "C:\Program Files (x86)\Liquidware Labs\Connector ID\logconfig" "C:\Program Files (x86)\Liquidware Labs\Connector ID\logconfig_orig"

copy \\server\share\folder\logconfig "C:\Program Files (x86)\Liquidware Labs\Connector ID"

"C:\Program Files (x86)\Liquidware Labs\Connector ID\idcontrol.exe" start

 

Then to collect the logs up to a network share after running for some time and turn off debug, you could do a debugoff.bat:

@echo off

mkdir \\server\share\folder\%computername%

copy /Y "C:\Program Files (x86)\Liquidware Labs\Connector ID\*.txt" \\server\share\folder\%computername%\

"C:\Program Files (x86)\Liquidware Labs\Connector ID\idcontrol.exe" stop

del "C:\Program Files (x86)\Liquidware Labs\Connector ID\logconfig"

move "C:\Program Files (x86)\Liquidware Labs\Connector ID\logconfig_orig" "C:\Program Files (x86)\Liquidware Labs\Connector ID\logconfig"

"C:\Program Files (x86)\Liquidware Labs\Connector ID\idcontrol.exe" start

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

0 Comments

Article is closed for comments.