All Projects → sevdokimov → Log Viewer

sevdokimov / Log Viewer

Licence: apache-2.0
Web UI to viewing logs

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Log Viewer

Logbook
An extensible Java library for HTTP request and response logging
Stars: ✭ 822 (+1293.22%)
Mutual labels:  spring-boot, logging, logger
Logback Access Spring Boot Starter
Spring Boot Starter for Logback-access
Stars: ✭ 118 (+100%)
Mutual labels:  spring-boot, logging, logger
Gollum
An n:m message multiplexer written in Go
Stars: ✭ 883 (+1396.61%)
Mutual labels:  logging, logger
Cartus
A structured logging abstraction with multiple backends.
Stars: ✭ 21 (-64.41%)
Mutual labels:  logging, logger
Bulk
👨‍💻 Bulk is a library for buffering the objects. Pipeline(Sink) receives the object and emits the object bulked.
Stars: ✭ 59 (+0%)
Mutual labels:  logging, logger
Ios Sdk
AppSpector is a debugging service for mobile apps
Stars: ✭ 56 (-5.08%)
Mutual labels:  logging, logger
Thoth
An Error Logger for Go
Stars: ✭ 22 (-62.71%)
Mutual labels:  logging, logger
Loglevelnext
A modern logging library for Node.js that provides log level mapping to the console
Stars: ✭ 33 (-44.07%)
Mutual labels:  logging, logger
Qtwebapp
QtWebApp is a HTTP server like Java servlets, written in C++ with the Qt framework.
Stars: ✭ 50 (-15.25%)
Mutual labels:  logging, logger
Heroku Logger
A dead simple logger, designed to be perfect for Heroku apps.
Stars: ✭ 57 (-3.39%)
Mutual labels:  logging, logger
Serverless Es Logs
A Serverless plugin to transport logs to ElasticSearch
Stars: ✭ 51 (-13.56%)
Mutual labels:  logging, logger
Jslogger
Integrate JavaScript Logging with ASP.NET Core Logging APIs
Stars: ✭ 19 (-67.8%)
Mutual labels:  logging, logger
Simplog
A simple logger. No dependencies, no special features, just logging.
Stars: ✭ 17 (-71.19%)
Mutual labels:  logging, logger
Znetcs.aspnetcore.logging.entityframeworkcore
This is Entity Framework Core logger and logger provider. A small package to allow store logs in any data store using Entity Framework Core.
Stars: ✭ 24 (-59.32%)
Mutual labels:  logging, logger
Snoopy
Snoopy is a small library that logs all program executions on your Linux/BSD system (a.k.a. Snoopy Logger).
Stars: ✭ 835 (+1315.25%)
Mutual labels:  logging, logger
Escriba
📜 Logging on steroids
Stars: ✭ 30 (-49.15%)
Mutual labels:  logging, logger
Log
Structured logging package for Go.
Stars: ✭ 1,094 (+1754.24%)
Mutual labels:  logging, logger
Gf
GoFrame is a modular, powerful, high-performance and enterprise-class application development framework of Golang.
Stars: ✭ 6,501 (+10918.64%)
Mutual labels:  logging, logger
G3log
G3log is an asynchronous, "crash safe", logger that is easy to use with default logging sinks or you can add your own. G3log is made with plain C++14 (C++11 support up to release 1.3.2) with no external libraries (except gtest used for unit tests). G3log is made to be cross-platform, currently running on OSX, Windows and several Linux distros. See Readme below for details of usage.
Stars: ✭ 677 (+1047.46%)
Mutual labels:  logging, logger
Browser Logger
A dead simple logger, designed to be perfect for the browser.
Stars: ✭ 44 (-25.42%)
Mutual labels:  logging, logger

LogViewer

LogViewer is a Web application for monitoring server logs in real-time in the browser.

The tool provides powerful UI with highlighting, filtering, search, folding inconsiderable text. Merging several logs into one view works as well.

LogViewer can show huge log files without significant resource consumption because it reads only the part of the file that a user is watching. No indexing.

Screenshot

Features

  1. Highlighting fields, lines, parent brackets. Highlighting makes the log much more readable.
  2. Event filtering by a level, logger, date, thread, etc... Filtering by a custom condition written on JavaScript is available as well. more details
  3. Merging events from several log files and showing its as one log. If log files are located on different machines, all machines must have run LogViewer.
  4. Folding secondary information like unmeaning parts of exception stacktraces, full name of logger.
  5. Detecting the format of the log file.
  6. A permanent link to a log position. A user can copy a link to the current position and send it to another user.

Demo video

Quick start

  • Download LogViewer from Github releases and unpack it to any folder. Make sure the machine has installed Java 8 or later.
  • Run log-viewer-0.1.6/logviewer.sh
  • Open http://localhost:8111. There will be a file chooser to select a log from the file system.

User can open a log file using the file chooser on http://localhost:8111 or by a direct link: http://localhost:8111/log?log=$pathToLogFile. For opening several log files in one view, pass several "log" query parameters, for example: http://localhost:8111/log?log=***$pathToLogFile1***&log=***$pathToLogFile2***&log=***$pathToLogFile3***
Note: all log files must have full timestamp, otherwise LogViewer cannot merge them.

Also, LogViewer can be embedded into another java web application, if you don't want to run it as a standalone process. See embedding to Spring Boot application or embedding to java web application

Configuration

Configuration is located in log-viewer-0.1.6/config.conf, the file has HOCON format.

The most important configuration is a list of available files. Also, you can specify the log format if the automatic format detection works incorrectly; shortcuts for files/file sets, etc...

More details about configuration

Performance

The idea to filter logs without indexing sounds questionable. If the filter settings filter out all elements, the system has to scan the entire file to make sure that no visible events exist. Also, each search can perform a full scan of the log. Actually, the full scan is not a big problem, the parser works fast enough. Parsing 1Gb file takes 3,5 sec on my machine. It is viable.
Setting a date range filter can speed up the tool a lot because only events from the specified date range will be considered.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].