Exit Print View

Java Platform Micro Edition Software Development Kit Version 3.0, CLDC

Get PDF Book Print View
 

Document Information

Getting Started

Features

Using Sample Projects

Creating and Editing Projects

Viewing and Editing Project Properties

Running Projects in the Emulator

Searching the WURFL Device Database

Finding Files in the Multiple User Environment

Profiling Applications

Monitoring Network Traffic

Security and MIDlet Signing

Command Line Reference

Logs

Java ME Platform SDK GUI Logs

JSR Support

JSR 75: PDA Optional Packages

JSR 82: Bluetooth and OBEX Support

JSR 135: Mobile Media API Support

JSR 172: Web Services Support

JSR 177: Smart Card Security (SATSA)

JSR 179: Location API Support

JSR 205: Wireless Messaging API (WMA) Support

JSR 211: Content Handler API (CHAPI)

JSR 226: Scalable 2D Vector Graphics

JSR 229: Payment API Support

JSR 238: Mobile Internationalization API (MIA)

JSR 256: Mobile Sensor API Support

Index


Java ME Platform SDK GUI Logs

The default location for the messages log is:

user.home/Library/Application Support/javame-sdk/toolbar/3.0/var/log
Device Manager Logs

The device manager log is placed into:

user.home/Library/Application Support/javame-sdk/toolbar/3.0/log/device-manager.log

Logging levels can be configured in the following XML file:

installdir/Contents/resources/toolkit-lib/process/device-manager/conf/log4j.xml

A priority value for the categories com.sun or VM can be set to the following levels: ERROR, WARN, INFO, DEBUG, TRACE (ordered from least to most verbose).

<category name="com.sun">
   <priority value="DEBUG"/>
   <appender-ref ref="CONSOLE-ALL"/>
   <appender-ref ref="FILE"/>
</category>
   
<category name="VM">
   <priority value="INFO"/>
   <appender-ref ref="CONSOLE-ALL"/>
   <appender-ref ref="FILE"/>
</category>
Device Instance Logs

Each device (or emulator) instance writes its own log into its directory. See Device Names  to correlate the directory number and the device name.

user.home/Library/Application Support/javame-sdk/version/work/emulator-instance/device.log

The verbosity of the device instance log is controlled by the log4j.xml file, as described in Device Instance Logs.

A priority value for the categories com.sun or VM can be set to the following levels: ERROR, WARN, INFO, DEBUG, TRACE (ordered from least to most verbose.