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

Implement Tail functionality #3

Open
shrikrishnaholla opened this issue Dec 25, 2013 · 0 comments
Open

Implement Tail functionality #3

shrikrishnaholla opened this issue Dec 25, 2013 · 0 comments
Assignees

Comments

@shrikrishnaholla
Copy link
Member

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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant