IBM Support

Maximo Mobile Log Files On An Android Device

Question & Answer


Question

Can I create a mobile log file on an Android device?

Answer

By default we create log files on Android devices out of the box, They are located in the following directory on the device. /maximomobile/logs you can navigate to that folder using the devices native file explore tool or a third party application.

Open the mobile.properties file for the mobile profile you are using and increase the logging settings.

You can use INFO, ERROR or DEBUG depending on the type of logging you want.

//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

Once this is done, Save the file and run packagemobileandroid.cmd and install the new .apk file onto the device.


Copy the mobile log file(s) from /maximomobile/logs on the device to your desktop PC for viewing

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

Document Information

More support for:
Maximo Mobile Suite

Software version:
7.5.1

Operating system(s):
Android

Document number:
517197

Modified date:
17 June 2018

UID

swg21679380