All Projects → busimus → Cutelog

busimus / Cutelog

Licence: mit
GUI for logging

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Cutelog

gxlog
A concise, functional, flexible and extensible logger for go.
Stars: ✭ 65 (-83.16%)
Mutual labels:  log, logging
Borgert Cms
Borgert is a CMS Open Source created with Laravel Framework 5.6
Stars: ✭ 298 (-22.8%)
Mutual labels:  logging, log
Johnny
GUI frontend to John the Ripper password cracker
Stars: ✭ 277 (-28.24%)
Mutual labels:  gui, qt
Monolog Bundle
Symfony Monolog Bundle
Stars: ✭ 2,532 (+555.96%)
Mutual labels:  logging, log
Qt Python Binding Examples
Lots of simple and Pythonic PySide demos
Stars: ✭ 312 (-19.17%)
Mutual labels:  gui, qt
Golog
A high-performant Logging Foundation for Go Applications. X3 faster than the rest leveled loggers.
Stars: ✭ 208 (-46.11%)
Mutual labels:  logging, log
Eiskaltdcpp
File sharing program using DC and ADC protocols
Stars: ✭ 277 (-28.24%)
Mutual labels:  gui, qt
Monolog Bridge
Provides integration for Monolog with various Symfony components.
Stars: ✭ 2,238 (+479.79%)
Mutual labels:  logging, log
Daiquiri
Python library to easily setup basic logging functionality
Stars: ✭ 308 (-20.21%)
Mutual labels:  logging, log
Aqemu
Official AQEMU repository - a GUI for virtual machines using QEMU as the backend
Stars: ✭ 301 (-22.02%)
Mutual labels:  gui, qt
Sematext Agent Docker
Sematext Docker Agent - host + container metrics, logs & event collector
Stars: ✭ 194 (-49.74%)
Mutual labels:  logging, log
Jqview
simplest possible native GUI for inspecting JSON objects with jq
Stars: ✭ 355 (-8.03%)
Mutual labels:  gui, qt
Logcat
Android 日志打印框架,在手机上可以直接看到 Logcat 日志啦
Stars: ✭ 189 (-51.04%)
Mutual labels:  logging, log
Fluent Bit
Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
Stars: ✭ 3,223 (+734.97%)
Mutual labels:  logging, log
Acho
The Hackable Log
Stars: ✭ 189 (-51.04%)
Mutual labels:  logging, log
Oklog
A distributed and coördination-free log management system
Stars: ✭ 2,937 (+660.88%)
Mutual labels:  logging, log
Exceptionless
Exceptionless server and jobs
Stars: ✭ 2,107 (+445.85%)
Mutual labels:  logging, log
Cocoalumberjack
A fast & simple, yet powerful & flexible logging framework for Mac and iOS
Stars: ✭ 12,584 (+3160.1%)
Mutual labels:  logging, log
Console
OS X console application.
Stars: ✭ 298 (-22.8%)
Mutual labels:  logging, log
Alchemy
An experimental GUI framework for Rust, backed by per-platform native widgets. React, AppKit/UIKit inspired. EXPERIMENTAL, runs on Cocoa right now. ;P
Stars: ✭ 321 (-16.84%)
Mutual labels:  gui, qt

cutelog – GUI for logging

PyPi

This is a graphical log viewer for Python's logging module. It can be targeted with a SocketHandler with no additional setup (see Usage).

It can also be used from other languages or logging libraries with little effort (see the Wiki). For example, a Go library gocutelog shows how to enable regular Go logging libraries to connect to cutelog.

This program is in beta, so please report bugs if you encounter them.

Features

  • Allows any number of simultaneous connections
  • Customizable look of log levels and columns, with presets for each
  • Filtering based on level and namespace, as well as filtering by searching
  • Search through all records or only through filtered ones
  • Display extra fields under the message with Extra mode
  • View exception tracebacks or messages in a separate window
  • Dark theme (with its own set of colors for levels)
  • Pop tabs out of the window, merge records of multiple tabs into one
  • Save/load records to/from a file in JSON format

Screenshots

Light theme Dark theme

Installation

If you're using Linux, install PyQt5 (or PySide2) from your package manager before installing cutelog (package name is probably python3-pyqt5 or python-pyqt5). Or just run pip install pyqt5 to install it from pip, which is sub-optimal.

$ pip install cutelog

Or install the latest development version from the source (requires PyQt5 to build resources):

$ pip install git+https://github.com/busimus/cutelog.git

Requirements

  • Python 3.5 (or newer)
  • PyQt5 (preferably 5.6 or newer) or PySide2
  • QtPy

Usage

  1. Start cutelog
  2. Put the following into your code:
import logging
from logging.handlers import SocketHandler

log = logging.getLogger('Root logger')
log.setLevel(1)  # to send all records to cutelog
socket_handler = SocketHandler('127.0.0.1', 19996)  # default listening address
log.addHandler(socket_handler)
log.info('Hello world!')

Afterwards it's recommended to designate different loggers for different parts of your program with log_2 = log.getChild("Child logger"). This will create "log namespaces" which allow you to filter out messages from various subsystems of your program.

Attributions

Free software used:

And thanks to logview by Vinay Sajip for UI inspiration.

Copyright and license

This program is released under the MIT License (see LICENSE file).

Copyright © 2019 Alexander Bus and contributors.

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].