In the eventlogger, if i change the Min log level to “Debug info” and do some network calls, I have noticed that the connection factory logs the network url .For example , I saw this
guid:0x287F0A38583E7BC6 time: Mon Jan 21 18:29:15 2013 severity:5 type:2 app:net.rim.networkapi data:FcoC https://xyz.co.uk/abc/test?appversion=1.2.3&;deviceside=false;ConnectionType=mds-public;ConnectionTimeout=20000;EndToEndRequired
This happens for all the apps I work for. Is there any way we could do something to avoid the connectionfactory from logging this information in the event logger
You were right, the full URL is logged with severity 5 (
EventLogger.DEBUG_INFO) by the appnet.rim.networkapi data. Sometimes, when using Wi-Fi or direct TCP, the URL is even logged twice. This can be a security problem as hosts and querystrings are logged.Changing the severity level to
EventLogger.INFORMATIONseems to prevent the undesired logging.Sample app (manually clean event logger first):