Skip to content

和 tail -f | jq 配合使用 #204

Description

@tearfulDalvik

这个命令会卡最后几行不输出。当 tail 更新了新的内容时,会输出之前卡住的和新的内容,然后又卡新数据最后的几行。像是有缓冲区没输出的感觉
tail -f access.log | jq . | nali

但是,这些命令没有问题:
tail -f access.log | nali
jq . access.log | nali

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions