heroku / heroku/cli

Support for "filter by time" in heroku logs command

Open
#1,443 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
889
Forks
236
Avg merge
2d 10h
Merged PRs (30d)
33

Description

Feature / Enhancement Request
-----------------------------------------------------
Update the `heroku logs` command to support filtering the logs by time.
Adding options like :
{
`-h (default h=1), --hour=hour` : output logs only from past `hour` hours,
`-m (default m=1), --minutes=minutes`: output logs only from the past `minutes` minutes ,
`--seconds=seconds`: output logs only from past `seconds` seconds (for processes that dump alot of logs each second)
}

What is the current behavior?
-----------------------------
No options to filter by time in the `heroku logs` command.

What is the expected behavior?
------------------------------
`heroku logs` getting updated to have option to filter by time as described in the feature request section.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.