Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7743559
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:33:56+00:00 2026-06-01T09:33:56+00:00

Android docs indicate: The order in terms of verbosity, from least to most is

  • 0

Android docs indicate:

The order in terms of verbosity, from least to most is ERROR, WARN, INFO, DEBUG, VERBOSE. Verbose should never be compiled into an application except during development. Debug logs are compiled in but stripped at runtime. Error, warning and info logs are always kept.

But try to do a Log.d() and you’ll find it’s actually still recording to Logcat on a real device.

Does anyone know why? Or how to disable it?

Thank you!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T09:33:57+00:00Added an answer on June 1, 2026 at 9:33 am

    What you are seeing is expected behaviour. Log.d will always be logged and visible if you use logcat and connect the device. Hence if you dont want debug logs in production app , turn it off. Infact android sdk suggests you do that. This SO answer might help you as well. Should I comment my log calls when creating my final package?

    Andriod sdk says

    Turn off logging and debugging

    Make sure you deactivate logging and disable the debugging option
    before you build your application for release. You can deactivate
    logging by removing calls to Log methods in your source files. You can
    disable debugging by removing the android:debuggable attribute from
    the tag in your manifest file, or by setting the
    android:debuggable attribute to false in your manifest file. Also,
    remove any log files or static test files that were created in your
    project.

    Also, you should remove all Debug tracing calls that you added to your
    code, such as startMethodTracing() and stopMethodTracing() method
    calls.

    Source

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is an abstract from the Android docs regarding the targetSDKVersion attribute of the
I've taken some animation xml straight from the android docs, and as far as
The Android docs for In-app Billing seem to be pretty clear on the following
I am working through this tutorial https://developers.google.com/cloud-print/docs/android for google cloud print. I am trying
After following these steps: http://developers.facebook.com/docs/mobile/android/build/ I find that everything goes well, but when I
I want to integrate Facebook with my Birthday App, so I started https://developers.facebook.com/docs/mobile/android/build/ working
How to generate custom javadoc for android 1.4 compatibility package? The reference docs are
as someone's who's just starting to get into Android/Java programming, I've read the docs
In the Android docs on AlertDialog , it gives the following instruction and example
Looking at various pages in the Android docs , some of them list Known

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.