logging - Oracle MAF : Log file for Android Emulator -


i'm using oracle maf mobile app development. , know that, log file generate device file path when deployed android device. i'm getting log in device.

but when deploy oracle maf android emulator find application log. i'm having default logger file (dalvik logger mechanism), attached below reference.

logging.properties

# default loggers use consolehandler .handlers=java.util.logging.consolehandler # default loggers use simpleformatter .formatter=java.util.logging.simpleformatter # default consolehandler logging level severe oracle.adfmf.util.logging.consolehandler.level=severe  oracle.adfmf.util.logging.consolehandler.formatter=oracle.adfmf.util.logging.patternformatter oracle.adfmf.util.logging.patternformatter.pattern=[%level% - %logger% - %class% - %method%] %message%  #configure framework logger use adfmf consolehandler oracle.adfmf.framework.useparenthandlers=false oracle.adfmf.framework.handlers=oracle.adfmf.util.logging.consolehandler oracle.adfmf.framework.level=severe  #configure application logger use adfmf consolehandler oracle.adfmf.application.useparenthandlers=false oracle.adfmf.application.handlers=oracle.adfmf.util.logging.consolehandler oracle.adfmf.application.level=severe 

emulator settings:

enter image description here

android emulator:

enter image description here

please let me know, if want more details regarding this.

for android emulator:

the output forwarded text file same name application. output file location /sdcard. if location not present or configured read-only, log output rerouted application's writable data directory. source: http://docs.oracle.com/middleware/mobile200/mobile/develop-oepe/oepe-maf-debug-test.htm#babcbihi (22.4 using , configuring logging)

for ios simulator:

depending on oracle maf version using, should able redirect log file location of choice (from 2.1).

this can archieved adding application arguments: on application, select run >>> choose active run configuration >>> manage run configurations should add following argument -consoleredirect=<your location/logfile.txt>


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -