logdog is a command line utility for viewing the log of an Android device (commonly referred to as logcat).
logdog is licensed under the Apache License, Version 2.0 (see
logdog requires Python 3.3 or later. If you're using Arch Linux, just run
Then copy or syslink
$REPO/src/logdog to a directory on your
make sure it's executable
# chmod +x path/to/logdog
View the log
Ctrl+C to exit.
# logdog -h
Show only warnings and errors
# logdog -l warn
The log levels are, in order of severity:
Only entries as or more severe than the given log level will be shown. The default is debug.
Ignore entries with the tag
# logdog -et dalvikvm
-et stands for
Include only those entries with the tag
# logdog -it dalvikvm
-it stands for
Includes and excludes (collectively filters) are Python regular expressions. Exclude entries where the message contains at least one numeral
# logdog -em '\d'
Multiple filters of the same type can be specified. Show only entries where the
tag is either
# logdog -it dalvikvm -it power
For a message to be printed, it must be accepted by at least one inclusion filter (if any are specified) and rejected by all exclusion filters.
Append entries to a file for inspection later
# logdog -o device.log
Get entries from a file, instead of a device,
# logdog -f device.log