Just to clarify, as per the documentation: http://support.polycom.com/global/documents/support/technical/products/voice/Syslog_TB17124.pdf
The value needs to be 0, 1, 2 or 3. These correspond to "none", "UDP", "TCP", and "TLS" respectively, but the value in the config file must be numeric, not the text representation.
I tried this previously and it caused the phone to log an error abuot it being an invalid value or similar.