Skip to content

[BUG] [v0.0.7] \cortex logs --follow -n <N>\ ignores requested line count #51529

@Tomas38432

Description

@Tomas38432

Project

cortex

Description

Follow mode seeks to end and never displays the last N historical lines.

Error Message

Debug Logs

System Information

linux

Screenshots

https://github.com/dragonwarrior0225/img/blob/main/84-3.PNG

Steps to Reproduce

  1. Run cortex logs --follow -n 200.
  2. Observe initial output starts from tail end only for new lines.

Expected Behavior

Should show last N lines first, then follow.

Actual Behavior

-n has no effect in follow path.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingideIssues related to IDEvalidValid issue

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions