Colored Logcat Script for Windows

by adrian vintu 11/2/2009 12:08:00 PM

I found a nice script from Jeff Sharkey that formats nicely and in color the adb logcat.
Unfortunately Jeffs script works only on *ix so I decided to make a port to Windows.

Here is a screenshot of the adb logcat without color

And here a screenshot of the the adb logcat with color

As you can see, the colored adb logcat is a huge improvement.

To easily use the code, copy the files, and logcat.bat to your Android SDK/platform-tools path like c:\android-sdk-windows\platform-tools\logcat.bat. Now, instead of running "adb logcat" just run "logcat".

Please be gentile with the code as I am not a Python programmer :)

You can download the files here (3 KB)

Thanks go to
Jeff Sharkey
André Burgaud
ActiveState for ActivePython

EDIT: The version required for ActivePython is 2.6 not the newest one.

Related posts


11/14/2009 5:10:12 AM


Nice work!! Although I don't develop in windows, I still like your job.


12/4/2009 12:08:49 PM


Pingback from

enhance your logcat experience with Colored Logcat - Android Forums

12/17/2009 9:01:47 PM

Ryan Beesley

Hmmm, I'm having problems getting this to work. It just sort of hangs after I run it. No messages, no warnings, no errors. I installed Python 2.6.4 if you think that might have anything to do with it. It clearly isn't 3.0 code since there are several print "" statements.

Ryan Beesley

1/18/2010 6:32:53 PM

adrian vintu

Ryan later reported:
"I think that the logcat output was a slightly different format. Ultimately, I output to a file, and used a version of tail made for Windows by baremetal called baretail. From that I had the ability to write filters that would highlight rows based on the error level. It didn't have all the befits of the python script, but it had 0 dev time."

The link is this

adrian vintu

5/20/2011 11:55:31 AM


Pingback from

Perbandingan Iphone Android Blackberry dan windows « Arif's Blog

Comments are closed

About Adrian Vintu

Adrian Vintu

Adrian Vintu is an old timer who has had the wonderful experience of working in a variety of quality environments and with various quality people.

Throughout time he has got down with Assembler, C++, Borland Delphi, Java, C#, Android etc. He took part in projects concerning software security, industrial controllers, food and health-care ERPS, AI simulations, data mining, mobile development, computer games, augmented reality, online distributed transactions, and financial management and trading.

In his spare time he develops free educational applications that run on Android and Windows Phone. It is his way of thanking and giving back to the open source and free (as in beer) software community and a way of bringing value to the social community and young generation.

Send mail


The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008 - 2016

Sign in