About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
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"}}]
Was this topic helpful?
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