Oracle® Java Micro Edition Software Development Kit Developer's Guide Release 3.4 for NetBeans on Windows E24265-06 |
|
Previous |
Next |
Oracle Java ME SDK uses the log4j
logging facility to manage Device Manager and Device Instance logs.
Logging levels are configurable.
The Device Manager log is placed into:
username\javame-sdk\3.4\log\device-manager.log
You can configure logging levels in the following XML file:
installdir\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: FATAL, ERROR, WARN, INFO, DEBUG, TRACE (ordered from least to most verbose).
Each device (or emulator) instance writes its own log in to its directory.
username\javame-sdk\3.4\work\
devicename\device.log
log4j.xml
controls the verbosity of the device instance logs, as described in "Device Manager Logs."