leprechaun icon indicating copy to clipboard operation
leprechaun copied to clipboard

Command to read error log and tail error log

Open kilgaloon opened this issue 4 years ago • 3 comments

Introduce new command that read/tail error/info log

Possible read commands:

  • leprechaun error-log
  • leprechaun info-log

Possible tail commands:

  • leprechaun tail-error-log
  • leprechaun tail-info-log

These commands will try to read global error and info logs if they are specified as global. Every service can have it's own error and info log so we should include default commands in agent for this:

  • leprechaun --cmd="{agent} error-log"
  • leprechaun --cmd="{agent} info-log"
  • leprechaun --cmd="{agent} tail-error-log"
  • leprechaun --cmd="{agent} tail-info-log"

kilgaloon avatar Sep 24 '19 09:09 kilgaloon

Is this issue open to work and available? I want to try working on this. @kilgaloon

krishnaindani avatar Dec 09 '20 06:12 krishnaindani

Go for it.

kilgaloon avatar Dec 09 '20 08:12 kilgaloon

Thank you. I will go over this.

krishnaindani avatar Dec 13 '20 06:12 krishnaindani