Changing the Log Level in TiStudio

Futuristic technology background. Internet data connection. Cloud networks.

Editor’s note: This blog post is a basic tutorial, a more update version of this tutorial is always available on the wiki.

Titanium Studio is a very powerful tool for development, and like many other applications that provide such a robust set of capabilities, one of the most important parts of being a proficient developer is knowing where to access the features you need.

Seeing the log output from your project is vital to debugging your application.  In Titanium Studio, there are currently 5 Log Level options: Trace, Debug, Info, Warn, Error.  Trace being the most detailed and Error only showing error messages.

Each application can have its own log level setting by following these simple instructions:

  • In the top menu bar, click ‘Run’, then click on ‘Run Configurations…’.
  • Click on your project in the list of iOS and Android Projects
  • Select your desired log level in the Log Level drop down
  • Click on ‘Apply’ at the bottom of the window
  • From here you can run your project by clicking on ‘Run’ or close the ‘Run Configurations’ by clicking on ‘Close’.

 

Previous article"Fake Steve Jobs" to Keynote at CODESTRONG 2011!
Next articleHow to create and install a pre-populated database

17 COMMENTS

  1. Hi Alan,

    I always see DEBUG logs, no matter how I configure a project. If I set Log Level to “Error”, stil shows debug information, which is so annoying. Changes are applied and saved correctly. Any idea?

    Using sdk 1.7.2 and last Ti Studio version on Mac.

    thanks,
    Javier

  2. Hi Alan,

    I always see DEBUG logs, no matter how I configure a project. If I set Log Level to “Error”, stil shows debug information, which is so annoying. Changes are applied and saved correctly. Any idea?

    Using sdk 1.7.2 and last Ti Studio version on Mac.

    thanks,
    Javier

  3. Hi Alan,

    I always see DEBUG logs, no matter how I configure a project. If I set Log Level to “Error”, stil shows debug information, which is so annoying. Changes are applied and saved correctly. Any idea?

    Using sdk 1.7.2 and last Ti Studio version on Mac.

    thanks,
    Javier

    • Hi, where do I find the log level?

      I have titanium 3.4.1 but after selecting my project on run configurations, there is no any log level option

LEAVE A REPLY

Please enter your comment!
Please enter your name here