sa-logs

6.1.5 • Public • Published

Soft-Artel Tools: JSON format logger

Installation:

$ npm i -g sa-logs

Usage:

Processing a file

$ sa-logs < path-to-file > < app1 > < app2 >

Processing a stream

$ tail out.log | sa-logs < app1 > < app2 >
$ docker-compose logs | sa-logs < app1 > < app2 >

Options

Option Description
-l, --level Specify level (INFO,DEBUG,etc.)
-n, --linesCount Reading lines count
-s, --startFormat Fields to include (pid,name,etc.)
-g, --regexp Search by regexp

Readme

Keywords

none

Package Sidebar

Install

npm i sa-logs

Weekly Downloads

9

Version

6.1.5

License

ISC

Unpacked Size

45.9 kB

Total Files

12

Last publish

Collaborators

  • soft-artel