A WebSocket application to tail files.
Project description
A WebSocket application to tail files.
You’ve set up your machine and you’re tweaking config files to get it just right, this last bit should do it… oh, it doesn’t? Weird, where’s that log again? Hmm, I know it’s in the history somewhere, or did I have it on screen/tmux? Which one? :/
Say no more! pip install tailsocket, run tailsocket-server, write the path to the log file once and let the logs come to you!
Ok, maybe I’m being a bit dramatic, but I’ve found this frustrating sometimes and seemed like a good use for WebSockets so I put this little project together using Tornado, asyncio and React.
Keep in mind Tailsocket can only read from files the owner of the process can read from.
Try it out at http://tailsocket.herokuapp.com/
Issues
Fallback to select on Linux causes high CPU loads and spam on the application logs.
Changing a tailed log file does not show confirmation, simply new log entries.
Application messages and errors show in the same context as log entries.
Enhancements
Globbing
Multiple log screens
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file tailsocket-0.1-py3-none-any.whl
.
File metadata
- Download URL: tailsocket-0.1-py3-none-any.whl
- Upload date:
- Size: 566.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1bd621ccdaacbe5e3e62a511522cdbe64f3f15ef1cf522f66de8040f5689575 |
|
MD5 | 687001e0122ce67374b6291dbe71ee10 |
|
BLAKE2b-256 | e3638b654f92f1d2fb26cd734931a1a6e32f43de23c379c19a4a4e18790c370f |