Skip to content
This repository was archived by the owner on Jul 10, 2019. It is now read-only.
This repository was archived by the owner on Jul 10, 2019. It is now read-only.

Implement Tail functionality #3

@shrikrishnaholla

Description

@shrikrishnaholla

Currently, a very hacky solution is being employed to get the last n lines of logs. A new process is being spawned which execs the UNIX tail -n command. There is no readily available library to emulate this functionality in a cross platform manner (Though there are implementations of tail -f). A library/module needs to be implemented that does this for us, preferably in a cross platform manner.
References that may help (Thanks @sandeepraju!):

  1. Source code of tail command
  2. This stackoverflow question
  3. This thread in v0.1.0 Logging bot #1

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions