Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9188569
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:02:38+00:00 2026-06-17T20:02:38+00:00

In the eventlogger, if i change the Min log level to Debug info and

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T20:02:39+00:00Added an answer on June 17, 2026 at 8:02 pm

    You were right, the full URL is logged with severity 5 (EventLogger.DEBUG_INFO) by the app net.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.INFORMATION seems to prevent the undesired logging.

    Sample app (manually clean event logger first):

        public class Main extends Application{
    
            public Main(){
                doTest();
            }
    
            private void doTest(){
                long GUID = 0x9cf1bac07b565732L; 
                EventLogger.register(GUID, "conn_factory_logging_test", EventLogger.VIEWER_STRING);
                EventLogger.setMinimumLevel(EventLogger.INFORMATION);
    
                ConnectionFactory factory = new ConnectionFactory();
                factory.setPreferredTransportTypes(new int[]{ TransportInfo.TRANSPORT_TCP_WIFI, TransportInfo.TRANSPORT_TCP_CELLULAR});
                ConnectionDescriptor cd = factory.getConnection("http://www.google.com");
                HttpConnection httpConnection = (HttpConnection) cd.getConnection();
                try {
                    httpConnection.setRequestMethod(HttpConnection.GET);
                    int responseCode = httpConnection.getResponseCode();
                    String result = "Server Response: " + responseCode;
    
                    EventLogger.logEvent(GUID, result.getBytes(), EventLogger.INFORMATION);
                    EventLogger.startEventLogViewer();          
                } catch (Exception e) {
                    System.err.println(e);
                } finally {
                    try {
                        httpConnection.close();
                    } catch (IOException e) {}
                }       
                System.exit(0);
            }
    
            public static void main(String[] args){
                 new Main().enterEventDispatcher();
            }
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created a webservice in .net 2.0, C#. I need to log some
I have implement a log4j.xml file having two loggers. Both EventLogger and ErrorLogger logged
I have a service that is running constantly processing data, it receives requests to
I'm knee deep in modifying some old logging code that i didn't write and
I have an ASP.NET MVC 2 application in which I am creating a custom
I want to be able to display some simple chunks of HTML in my
I have a console application (VB.NET). When it is started, it spawns worker threads
I have an application which can only have 1 instance running at each time,
I have ran into a really annoying issue which gives me this error: The
I am trying to write some gwt testcases to upload files using FileUpload and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.