Skip to content

OpenHausIO/log-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenHaus log viewer util

Smale and handy utility to view logviels generated from the backend or connector.

node index.js | less -R

The tools looks for a logfile called combined.log in its current working directory (cwd).

Environment variables

Name Default Description
LOG_DATEFORMAT yyyy.mm.dd - HH:MM.ss.l Format to print the unix timestamp
LOG_LOCATION <cwd>/combined.log Path to logfile to view
LOG_FILTER_NAME Logger name to view, e.g.: system, http, plugins/abad0f8e-23f0-4c2e-aea3-aa5a17c037db
LOG_FILTER_LEVEL Log level to view, e.g.: info, debug, trace, warn
WEBSOCKET_ENDPOINT WebSocket remote endpoint to connect. No local logfile needed, just connecto to your server

Commands

Screen to dirty? Clean it. Ctrl + L, Enter or cls + Enter

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published