title: Debugging issue with BlackBerry
body: <p>I want to print customer Log messages to log file. I have used following code snippet in my BlackBerry application main method. </p>
  
  <pre class="lang-java prettyprint-override"><code>EventLogger.register(0xaa21388c0c6ee7a7L, TAG, EventLogger.VIEWER_STRING);
  
  String myName = "AnujaAroshA";
  
  if (EventLogger.logEvent(0xaa21388c0c6ee7a7L, myName.getBytes())) {
      System.out.println(" #### Log Successful!");
  }
  </code></pre>
  
  <p>It prints "<em>Log Successful</em>" message on the console when my App is running on the real device. Real device is connected to my PC using a USB cable.</p>
  
  <p>Then I tried to copy the log messages in to a text file using command line like follow.</p>
  
  <pre class="lang-bsh prettyprint-override"><code>javaloader eventlog &gt; log.txt
  </code></pre>
  
  <p>After running this the device get freeze as well as the command line. I am developping using Eclipse and in Windows 7 OS. </p>
  
  <p>When I unplug the device and reconnect it and run the same command, it will generate the file with some logs. But in that log file I cannot find <strong>0xaa21388c0c6ee7a7L</strong> which is my application GUID.</p>
  
  <p>Where I have made mistakes?</p>