JakeWharton / JakeWharton/pidcat

Feature request: Global ignore list

Open
#79 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
5k
Forks
517
PR merge metrics
No merged PRs in 30d

Description

I wonder if there is an option to hide all those output lines in general which are not particularly interesting for a specific app. Something like dalvik output counts in for me:

```
dalvikvm D GC_FOR_ALLOC freed 6972K, 27% free 25223K/34380K, paused 38ms, total 38ms
dalvikvm-heap I Grow heap (frag case) to 28.660MB for 4194320-byte allocation
dalvikvm D GC_FOR_ALLOC freed 1K, 15% free 29317K/34380K, paused 40ms, total 40ms
D GC_FOR_ALLOC freed 4918K, 25% free 25936K/34380K, paused 37ms, total 37ms
dalvikvm-heap I Grow heap (frag case) to 29.357MB for 4194320-byte allocation
```

I think a dotfile in `$HOME` such as Git does with `.gitignore` would be a good approach.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No implementation files or tests are named; start by reading the pidcat Python CLI and how it filters logcat output. Then determine how a dotfile in $HOME should represent global ignore rules for lines such as the dalvik output shown. Done means the CLI consistently hides configured uninteresting lines while retaining other app output.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.