
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Listens for new messages over TCP and broadcasts to browsers via socket.io
Powered by node.js + socket.io
A file input watches log files for changes, sends new messages to the server via TCP, which broadcasts to browsers via socket.io.
Stream - A logical designation for a group of messages that relate to one another. Examples include an application name, a topic name, or a backend service name.
Source - A physical designation for a group of messages that originate from the same source. Examples include a server name, a service provider name, or a filename.
Input - A (stream, source) pair.
While originally designed to represent backend service logs spread across multiple servers, the stream/source abstraction is intentionally open-ended to allow users to define a system topology for their specific use case.
Install via npm
npm install -g log.io
Configure hosts & ports (see example below)
nano ~/.log.io/server.json
Run server
log.io-server
Browse to http://localhost:6688
Begin sending log messages to the server via:
There are two servers: the message server, which receives TCP messages from message inputs, and the HTTP server, which receives requests from browsers. By default, the application looks for configuration in ~/.log.io/server.json
, and can be overridden with the environment variable LOGIO_SERVER_CONFIG_PATH
.
Sample configuration file:
{
"messageServer": {
"port": 6689,
"host": "127.0.0.1"
},
"httpServer": {
"port": 6688,
"host": "127.0.0.1"
},
"debug": false,
"basicAuth": {
"realm": "abc123xyz",
"users": {
"username1": "password1"
}
}
}
basicAuth
and debug
are both optional keys that can be omitted.
The file input connects to the server via TCP, and writes properly formatted strings to the socket. Custom inputs can send messages to the server using the following commands, each of which ends with a null character:
Send a log message
+msg|streamName1|sourceName1|this is log message\0
Register a new input
+input|streamName1|sourceName1\0
Remove an existing input
-input|streamName1|sourceName1\0
FAQs
Listens for new messages over TCP and broadcasts to browsers via socket.io
The npm package log.io receives a total of 563 weekly downloads. As such, log.io popularity was classified as not popular.
We found that log.io demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.