{"id":13586341,"url":"https://github.com/busimus/cutelog","last_synced_at":"2025-05-16T17:07:06.849Z","repository":{"id":39886000,"uuid":"117086670","full_name":"busimus/cutelog","owner":"busimus","description":"GUI for logging","archived":false,"fork":false,"pushed_at":"2023-10-06T14:40:52.000Z","size":1153,"stargazers_count":488,"open_issues_count":11,"forks_count":46,"subscribers_count":24,"default_branch":"master","last_synced_at":"2025-05-15T10:42:25.886Z","etag":null,"topics":["gui","log","logging","python","qt"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/busimus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-11T10:40:46.000Z","updated_at":"2025-05-09T10:38:19.000Z","dependencies_parsed_at":"2024-06-18T21:22:31.325Z","dependency_job_id":null,"html_url":"https://github.com/busimus/cutelog","commit_stats":{"total_commits":41,"total_committers":8,"mean_commits":5.125,"dds":"0.29268292682926833","last_synced_commit":"231523057a2e110e92ac927e6e0a0b393a930b9d"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busimus%2Fcutelog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busimus%2Fcutelog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busimus%2Fcutelog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busimus%2Fcutelog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/busimus","download_url":"https://codeload.github.com/busimus/cutelog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254573588,"owners_count":22093731,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gui","log","logging","python","qt"],"created_at":"2024-08-01T15:05:29.597Z","updated_at":"2025-05-16T17:07:06.802Z","avatar_url":"https://github.com/busimus.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"# cutelog – GUI for logging\n[![PyPi](https://img.shields.io/pypi/v/cutelog.svg?style=flat-square)](https://pypi.python.org/pypi/cutelog)\n\nThis is a graphical log viewer for Python's logging module.\nIt can be targeted with a SocketHandler with no additional setup (see [Usage](#usage)).\n\nIt can also be used from other languages or logging libraries with little effort (see the [Wiki](../../wiki/Creating-a-client-for-cutelog)).\nFor example, a Go library [gocutelog](https://github.com/busimus/gocutelog) shows how to enable\nregular Go logging libraries to connect to cutelog.\n\n## Features\n* Allows any number of simultaneous connections\n* Customizable look of log levels and columns, with presets for each\n* Filtering based on level and namespace, as well as filtering by searching\n* Search through all records or only through filtered ones\n* Display extra fields under the message with [Extra mode](../../wiki/Creating-a-client-for-cutelog#extra-mode)\n* View exception tracebacks or messages in a separate window\n* Dark theme (with its own set of colors for levels)\n* Pop tabs out of the window, merge records of multiple tabs into one\n* Save/load records to/from a file in JSON format\n\n## Screenshots\nLight theme | Dark theme\n------------|-----------\n\u003cimg src=\"https://raw.githubusercontent.com/busimus/cutelog/master/screenshots/main_light.png\" width=\"240\"\u003e | \u003cimg src=\"https://raw.githubusercontent.com/busimus/cutelog/master/screenshots/main_dark.png\" width=\"240\"\u003e\n\n## Installation\n**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.\n\n```\n$ pip install cutelog\n```\nOr install the latest development version from the source (requires PyQt5 to build resources):\n\n```\n$ pip install git+https://github.com/busimus/cutelog.git\n```\n\n### Requirements\n* Python 3.5 (or newer)\n* PyQt5 (preferably 5.6 or newer) or PySide2\n* [QtPy](https://github.com/spyder-ide/qtpy)\n\n## Usage\n1. Start `cutelog`\n2. Put the following into your code:\n```python\nimport logging\nfrom logging.handlers import SocketHandler\n\nlog = logging.getLogger('Root logger')\nlog.setLevel(1)  # to send all records to cutelog\nsocket_handler = SocketHandler('127.0.0.1', 19996)  # default listening address\nlog.addHandler(socket_handler)\nlog.info('Hello world!')\n```\nAfterwards it's recommended to designate different loggers for different parts of your program with `log_2 = log.getChild(\"Child logger\")`.\nThis will create \"log namespaces\" which allow you to filter out messages from various subsystems of your program.\n\n## Attributions\nFree software used:\n* Qt via either:\n    * [PyQt5](https://riverbankcomputing.com/software/pyqt/intro) - GPLv3 License, Copyright (c) 2019 Riverbank Computing Limited \u003cinfo@riverbankcomputing.com\u003e\n    * [PySide2](https://wiki.qt.io/PySide2) - LGPLv3 License, Copyright (C) 2015 The Qt Company Ltd (http://www.qt.io/licensing/)\n* [QtPy](https://github.com/spyder-ide/qtpy) - MIT License, Copyright (c) 2011- QtPy contributors and others\n* [jsonstream](https://github.com/Dunes/json_stream) - MIT License, Copyright (c) 2020 Dunes\n* [ion-icons](https://github.com/ionic-team/ionicons) - MIT License, Copyright (c) 2015-present Ionic (http://ionic.io/)\n\nAnd thanks to [logview](https://pythonhosted.org/logview/) by Vinay Sajip for UI inspiration.\n\n### Copyright and license\nThis program is released under the MIT License (see LICENSE file).\n\nCopyright © 2023 bus and contributors.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusimus%2Fcutelog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbusimus%2Fcutelog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusimus%2Fcutelog/lists"}