How to disable the autoscroll feature in Logcat?

I use LogCat to look at the debug output of my apps.
If other apps are running or the system has of the test device has some noisy background threads running LogCat will scroll all the time and I have to correct my position manually to read long stack traces.

Is there a way to disable the scrolling in LogCat? Or somehow tweak the scrolling settings?

  • Android WebView not loading Mixed Content
  • Can one Android application control another application via UI Automator?
  • How do I view Android application specific cache?
  • Could not find property 'compile' on org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@397740e0
  • Solution to INSTALL_FAILED_INSUFFICIENT_STORAGE error on Android
  • how can you tell when an Android activity is finished loading?
  • Related posts:

    DexIndexOverflowException: Cannot merge new index 65772 into a non-jumbo instruction!: Jumbo Mode? a...
    Is it just me…or is android honeycomb 3.0 emulator really slow?
    Trouble configuration of mockito with eclipse. Gives error: java.lang.verifyError
    Remove shadow effect on android button
    Styling the popup menu in Android 5.0
    Where is Android Emulator Internal Storage
  • Get focused View from ViewPager
  • SharedPreferences file
  • How to deserialise a subclass in Firebase using getValue(Subclass.class)
  • How to set android TabLayout in the bottom of the screen?
  • How to get Last record from Sqlite?
  • Not able to create new Project with ADT version 20
  • 5 Solutions collect form web for “How to disable the autoscroll feature in Logcat?”

    One way is to create a filter for all the noisy services.

    Just create a filter with the tag of the disturbing logs. Logcat will not filter those messages out of the main logview and slow down the scrolling.

    This is not the best solution. It will lead to a LogCat with 15 or 20 different filters only used to remove not used log output.

    UPDATE Additionally to using filters one of the last updates of the android tools added a pause button to logcat. Just click the button and autoscroll is disabled.

    In Logcat at top right there is a button that looks like an arrow pointing downward with line under it. Toggle it to switch autoscrolling on and off.

    logcat buttons

    The question may be a couple of years old, but since it pops up first in Google, I’ll just drop this here.

    In Eclipse, go to Window, Preferences. Under Android, there is a category LogCat. In this category, there is an option Automatically enable/disable scroll lock based on the scrollbar position.
    Untick this to disable the automatic scrolling.

    I found a quick fix. In the Logcat, slide the scroller to the top. When autoscroll is need slide to the bottom. You can also use arrow keys.

    I agree with uh… your own answer. You don’t give any details on the environment so I’m maybe off-topic but here my experience under GNU/Linux (without using Eclipse at all):

    First, I always define an application-wide tag as a project constant and use that tag for filtering with a scripts/log simple bash script (checked in Version Control Systems) as follow

    #!/bin/bash
    adb logcat LoaderManager:V MyApplicationTag:V MyExternalButInvolvedProvider:V SomeDepLibProjectTag:V *:E | ./scripts/coloredlogcat
    

    Using *:E, I catch all the errors and fine-tune the verbosity level for the relevant tags.
    I use that with an reasonable terminal history size and the excellent coloredlogcat python script. Using the terminal, just moving to the focused lines stop the automatic scrolling without stopping the logging… I have just to move to the latest lines or press some key to get the automatic scrolling again.

    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.