Can I trigger the enablement of device side TelnetCE logging on demand from the device without having to push a TelnetCE Update from the Avalanche server? I see there is a Logging_On scripting method that I could trigger through a keypress activated script but is this the same logging as the Network Traffic Log file configured in the Emulation Parameters or is it a different log? If different does it still contain some of the same info as the Network Traffic Log File? If not can I enable logging on demand using any other methods?
Right now, these are the only two options that come to mind and I'm honestly not a fan of either of them:
- Make the change to the TelnetCE package to Enable Logging for the whole site. Manually update the one sample device so that it receives the update. All other devices won’t receive the same update unless they are rebooted or are manually updated while logging is temporarily enabled. After you’ve gathered the information that you’re looking for on the sample device you can then disable logging again at the Avalanche server level. Your sample device, and any devices that may have inadvertently received the command to enable logging will then receive the command to disable logging. This is by far the easiest approach but may have the unintended consequence of enabling logging on other devices.
- Clone the current Production Software Profile for that Site and create a new Test profile. Change the Selection Criteria for the new Profile to be inclusive of the device’s serial number (eg. SerialNumber = XYZ) and then also change the Selection Criteria of the current Prod profile to be exclusive of the same device (Eg. SerialNumber != XYZ) so that that the test device isn’t simultaneously eligible for two configurations. Then make the change to the cloned profile to enable TelnetCE Logging and deploy it to the test device. This process is significantly more complex but it will prevent other devices from inadvertently having logging turned on.