logium

command module
v0.0.0-...-435e54a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2022 License: MIT Imports: 17 Imported by: 0

README

logium

logium is a tool for log monitoring in your browser.

Installation

go install github.com/gonevo/logium@latest

Usage

To start the logium, you only need to configure your own server and sources.

You can run logium with -init flag to create default config.json file

logium -init

Config options

  • server.port: port of logium, default: 3333
  • server.last: how many last lines from log logium will show for the new clients, default: 5
  • server.auth: map of users (login, password) for basic auth, default: nil
  • sources: list of the sources. Each source has the name for UI and real path to the file

Config example

{
  "server": {
    "port": 3333,
    "last": 5,
    "auth": {
      "user1": "password1",
      "user2": "password2"
    }
  },
  "sources": [
    {
      "name": "errors",
      "path": "/var/error.log"
    }
  ]
}

License

The logium is open-sourced software licensed under the MIT license.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL