Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@mishguru/logview-cli

Package Overview
Dependencies
Maintainers
13
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mishguru/logview-cli

Logview CLi

  • 2.0.0
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-50%
Maintainers
13
Weekly downloads
 
Created
Source

Log View CLI

Installation

npm install -g @mishguru/logview-cli

Usage

$ logv --help

Display a list of logs

Commands:
  logv edit-config   Open the server config in your editor
  logv read [ids..]  Display details about selected logs
  logv filter        Display a list of logs                            [default]
  logv use [server]  Set which server to use by default

Options:
  --version       Show version number                                  [boolean]
  --server        Which server to use from the config
                                             [choices: "internal", "production"]
  --help          Show help                                            [boolean]
  --follow, -f    Append new logs as they are created [boolean] [default: false]
  --lines, -l     Number of logs to retrieve              [number] [default: 20]
  --format                                          [string] [default: "pretty"]
  --user, -u      A list of user IDs to filter logs by                   [array]
  --sentFrom, -s  A list of service names to filter logs by              [array]
  --type, -t      A list of topic type to filter logs by                 [array]
  --payload, -p   Filter logs by payload using SQL LIKE                 [string]
  --before, -b    Only display logs created before the specified date   [string]
  --after, -a     Only display logs created after the specified date    [string]
logv -l 20 -u 43
[press space to load more logs]

logv -u 43 -f
[press ctrl-c to exit]

logv read 1234 1302
12345 unexpectedError                                    24th Jan 2018, 12:42:12
> "the info is printed here"
User ID: 123, Instagram Account: 21

1302 snapchatAccountOutOfDate                            24th Jan 2018, 12:42:12
> ""
> ""
instagramAccountId | 

logv read --format jq 12354
{
	"id": "12345",
	"sentAt": "24th Jan 2018, 12:42:12",
	"type": "unexpectedError",
	"payload": {
		"info": "Something went wrong!",
		"userId": 123,
	}
}

Emojis for different event types? Colors for different groups?

FAQs

Package last updated on 27 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc