Tailsocket capture
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
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
Changelog
v0.1.1 - Use the more performant pyinotify in Linux platforms instead of a raw select event loop.
v0.1 - Initial version.
Metadata
Release files for tailsocket 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tailsocket-0.1.1.tar.gz | 569.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tailsocket-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.1 MB
Release files / tailsocket-0.1.1.tar.gz
| Download URL | tailsocket-0.1.1.tar.gz |
|---|---|
| Size | 569.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3bbc1366aec3fe315805c8d4034befea28a4884cba35e66acc3843b24772383
|
|
BLAKE2b-256 checksum How to use checksums |
de39db49b59778d025ffb4a0f2b70b73ef96eb372eeddc658ae00f86782350f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / tailsocket-0.1.1-py3-none-any.whl
| Download URL | tailsocket-0.1.1-py3-none-any.whl |
|---|---|
| Size | 570.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1df76208628d8f75b58942ef5e53020740a5832410d558ad014cbb93296d2b4
|
|
BLAKE2b-256 checksum How to use checksums |
2bbc0f301373e04247b36735e8e67f182f8fc748b60e277e279ae34207aa659e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |