IBM Support

Configure Logging On A Mobile 7.1.1 Device Running Windows Mobile OS

Troubleshooting


Problem

Can I create a log file on a mobile device running Maximo Mobile 7.1.1?

Resolving The Problem

Device logging

Here are the steps to enable logging on the device, In my example I used Mobile Work Management.

Enable logging in the mobile.properties file, then repackage and redeploy the mobile jar files.

//STRICTLY TO USE FOR TROUBLESHOOTING IN DEVICE NEED TO RUN WITH JAVA CONSOLE
maximo.mobile.debug=true
maximo.mobile.debug.persistence=INFO
maximo.mobile.debug.serialization=ERROR
maximo.mobile.debug.communication=INFO
maximo.mobile.debug.sensor=INFO

In the mobilewo.options add the line -tofile:\Maximo\debug.log
Then try to sign into mobile and do a refresh, This will create a log
file in the Maximo folder on the device. You can connect with activeSync
to get the file.

Here is an example of my mobilewo.options

-Xbootclasspath/a:\maximo\lib\jdbc.jar
-Xmx64m
-Dcom.ibm.oti.net.HttpConnectionConnectTimeout=20000
-Dcom.ibm.oti.net.HttpConnectionReadTimeout=60000
-Dmobiledb=mobilewo
-Djava.library.path=\Windows
-Ddatabase.name=db2e
-tofile:\Maximo\debug.log

This will create a log file called debug.log in the Maximo folder on your mobile device

[{"Product":{"code":"SSMAZG","label":"Maximo Mobile Suite"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Not Applicable","Platform":[{"code":"PF034","label":"Windows Mobile"}],"Version":"7.1.1;7.5;7.5.1","Edition":"All Editions","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
17 June 2018

UID

swg21470868