New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

herokulogs

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

herokulogs

  • 0.0.1
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Herokulogs

A tool to get a clear view on log tails of heroku apps

Usage

$ heroku logs --tail | herokulogs FORMAT

Format options:

2: http status b: bytes c: connect time d: date f: fwd IP h: host l: log level m: method p: path s: service time t: type y: dyno

Examples

``

Log status code, HTTP method and path:

$ heroku logs --tail | herokulogs.rb 2mp ``

Optionally you can add a second paramter which is interpreted as a Ruby regex that has to match on the raw log line in order to print it to STDOUT.

``

Log path only when it comes from a web dyno

$ heroku logs --tail | herokulogs p "dyno=web.\d+" ``

FAQs

Package last updated on 17 May 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc