A simple commandline tool for interacting with a logio server. The tool gives you the ability to do the following:
- Send log messages
- Add nodes and streams to the server
- Store multiple server details (i.e. address & port) in a config
logio send-log -m "This is a message"
logio add-node machine1
logio add-stream app1
logio list-server
logio add-server server1 192.168.0.1 28777
For first time users, the logio commandline tool must be configured with a server. Therefore the first call must be to add/configure a server:
logio add-server <name> <host> <port>
name
- A name to refer to this server detailhost
- Host or IP information of the serverport
- Port where logio is running
After a configuring a server, then other commands can be specified. See the list below for other commands.
The following are commands that can be called with the logio commandline tool.
Adds a server to your user config. The name
allows you to reference the server configuration in other calls.
Removes a server configuration from the config file.
Selects a default server to use for send-log, add-node, etc.
Lists the servers in the config file.
Sends a log message to the default server. The node and stream are not required and will default to the application (logio), and machine name.