frontail: 서버의 로그 파일을 웹 브라우저에서 Tail npm
소개
「서버 측의 로그를 브라우저로 Tail하고 싶어요」라고 말해졌으므로 조사하면 좋은 것이 있었으므로 공유합니다.
매우 도입이 간단하기 때문에 상기 URL을 봐 주시면, 특히 설명은 불필요합니다만, 일단 써 둡니다.
frontail
특징
Install
% npm install frontail -g
시작
% frontail [option] [file1 file2 ...]
例:
% frontail --theme dark ~/log1
매우 간단합니다.
표시
frontail은 기본적으로 포트 9001을 청취합니다.
http://localhost:9001/
등에 액세스하면 이런 식으로 표시됩니다.theme: default

theme: dark

여러 파일을 지정할 때
frontail ~/log1 ~/log2
와 같이, 기동시의 인수에 복수의 파일을 지정하는 것으로 일단 복수 파일을 Tail 할 수가 있습니다.
표시로서는 다음과 같이 됩니다.

이런 느낌으로 중간에 세퍼레이터가 표시되는 형식이 되는 것 같습니다.
여기서
log1
에 추가가 있으면,
와 같이, 행말에 세퍼레이터 첨부로 추기되는 형태가 됩니다.
갱신 빈도가 낮은 로그를 1화면으로 보고 싶다고 하는 경우에는 편리할지도 모릅니다.
유량이 빠른 액세스 로그와 같은 것을 복수 동시에 보고 싶은 경우는, 따로따로 frontail 를 port를 나누어 기동하는 것이 좋을 것 같습니다.
사이고에게
이런 편리합니다.
Reference
이 문제에 관하여(frontail: 서버의 로그 파일을 웹 브라우저에서 Tail npm), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://qiita.com/mokemokechicken/items/d73df601ee8e82df6614
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
Reference
이 문제에 관하여(frontail: 서버의 로그 파일을 웹 브라우저에서 Tail npm), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/mokemokechicken/items/d73df601ee8e82df6614텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)