heroku/heroku.rb

heroku logs -S EXCLUDE_THIS_SOURCE

Closed this issue · 3 comments

Please, pretty please add a way to filter out log sources.
Example:

#existing syntax
heroku logs -s JUST_THIS_ONE
#new option
heroku logs -S EXCEPT_THIS_ONE

I routinely tail the logs, and while I already filter out some unwanted bits, the Postgres source often fills up the logs with huge SQL autogenerated queries, which span multiple lines and thus can't be filtered out.
Example:

app[heroku-postgres] BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH 
BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH
BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH BLAH

and so on.
I can filter out "app[heroku-postgres]", but not lines 2 and on.

I reckon this requires support in heroku API, but I couldn't find the new platform API in Github.
If it exists as a public repo, then I'll gladly do the work myself and make a pull request.

@ldmosquera I think maybe you meant to file this on the toolbelt? At https://github.com/heroku/heroku/issues?state=open ? Just don't want this to get lost in the wrong repo.

Sorry, yes! Thanks.

No problem. Thanks!
On Oct 23, 2013 9:40 AM, "Leonardo Mosquera" notifications@github.com
wrote:

Closed #74 #74.


Reply to this email directly or view it on GitHubhttps://github.com//issues/74
.