Technical Blog Post
Abstract
Anywhere 7.6.2.1 - Logs are blank on windows devices
Body
When you open the regular logging view on your device you don't see anything, no matter which log level you've set:
Starting on 7.6.2.1 the logs are supposed to go to OS directory instead of showing on regular logging screen but you must see a LogLocation on regular logging screen:
APAR IJ05386 (DEVICE LOG NOT WORKING ON WINDOWS DEVICES) was opened for that but you can apply the fix manually with the following instructions:
1 have a backup of your \MaximoAnywhere\platform directory
2 Place LoggerReportHandler.js under MaximoAnywhere\platform\maximo-anywhere-platform_7.6.2.201705101500.zip\platform\js\platform\logging\handler
View DetailsLoggerReportHandler.js
(See attached file: LoggerReportHandler.js)
3 Put Logger.js, TransactionLogger.js and LogWorker.js under both directories:
MaximoAnywhere\platform\maximo-anywhere-platform_7.6.2.201705101500.zip\platform\js\platform\logging
MaximoAnywhere\platform\maximo-anywhere-platform-fixpack_7.6.2.1.201711161732.zip\platform\js\platform\logging
Logger.jsView DetailsLogWorker.jsView DetailsTransactionLogger.jsView Details
(See attached file: LogWorker.js)
(See attached file: TransactionLogger.js)
(See attached file: Logger.js)
4 Run 'build clean update-platform all'
5 Reinstall the app and retry, you should now see the Log Location on your windows device:
C:\Users\<your user>\AppData\Local\Packages\209ea0f5-86a5-44a1-9d8f-5ed4c6469709_75cr2b68sm664\LocalState
(location may vary depending on your username and your app build details)
UID
ibm11129221