Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Contributor
Posts: 12
Registered: ‎01-22-2013
My Device: 9900
My Carrier: GiffGaff

Disable event logs for network connections

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-xxxxxx;ConnectionTi...

 

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

Developer
Posts: 16,750
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: Disable event logs for network connections

welcome to the support forums.

no, you cannot change the logging.
----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Contributor
Posts: 12
Registered: ‎01-22-2013
My Device: 9900
My Carrier: GiffGaff

Re: Disable event logs for network connections

What do you think about calling EventLogger.clearLog() just after a connection is made. So even if it is logged, we clear it. ?

Contributor
Posts: 12
Registered: ‎01-22-2013
My Device: 9900
My Carrier: GiffGaff

Re: Disable event logs for network connections

Just set the event logger level to information and it stops the undesired logging 

 

EventLogger.setMinimumLevel(EventLogger.INFORMATION);