Redirecting the log file in the Oracle Mobile Application Framework

If you have been developing with the Oracle Mobile Application Framework you already know that's not always easy to get debugging information out of the iOS Simulator or the Android Emulator.

When you are running on the iOS Simulator you can now use the -consoleRedirect option and send the logging information to an easier location to find. Although you can do that in Apple's XCode, doing that in JDeveloper is quite straightforward.

Open up your MAF project in JDeveloper, select Run >>> Choose Active Run Configuration >>> Manage Run Configurations

Then, click Edit and select the Mobile Run Configuration

Add the -consoleRedirect=<Any_File_You_Want> and select the Simulator configuration (if you have multiple ones configured). Click OK.

You can now use the JDeveloper Run button (the little green triangle on the top menu) that will launch and run your app (you must use this approach to redirect the log file - that's a limitation but worth the price).

This has been tested with the Oracle Mobile Application Framework 2.1.

Happy Debugging!


  1. Informative post on Android mobile application development!!! As the usage of iPhones keep on increasing, there is massive demand for best performing Apps and Games for iOS platform. IOS Training in Chennai

  2. Your posts is really helpful for me.Thanks for your wonderful post. I am very happy to read your post. very nice !!! Phonegap Training in chennai | Phonegap Training chennai | Phonegap course in chennai | Phonegap course chennai

  3. This comment has been removed by the author.

  4. Hi, we are the biggest apps development company in US. We have introduced an event mobile apps
    .Thankyou very much for sharing this informative.

  5. This Information very helpful for the beginners.In this each step have a wonderful explaination.I would study and known about the application.thanks for giving wonderful information. Android training in chennai | Android training chennai |Android course in chennai | Android course chennai

  6. Thanks for sharing information.
    Roaming Plan
    Now Roam Across India with Videocon and stay in touch with your Contacts, Friends, and Loved ones.Seamless Roaming across India. National Roaming is Pre-Activated on Videocon Prepaid Connection with Zero Monthly Rentals. Tariff while Roaming anywhere in India:

  7. Thanks for your informative article. Android SDK allows you to create stunning mobile application loaded with more features and enhanced priority. With basis on Java coding language, you can create stunning mobile application with ease. Android Training Institutes in Chennai | Android Training in Chennai

  8. Truly an incredible expansion. I have perused this superb post. A debt of gratitude is in order for sharing data about it. I truly like that. Much obliged so parcel for your meet. Bulk SMS in Pune


  9. Thanks for posting useful information.You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...Really it was an awesome article...very interesting to read..
    please sharing like this information......
    Android training in chennai
    Ios training in chennai


Post a Comment

Popular posts from this blog

Calling Web Services with Apache Camel

How to Declare Variables in MS-SQL Server Management Studio

Using HTTP-based endpoints with Apache Camel