logger-app
A self-hosted application for remotely watching log files through a web UI.
Last updated 3 years ago by rosscourt .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install logger-app 
SYNC missed versions from official npm registry.

Logger

A self-hosted application for remotely watching log files through a web UI.

NOTE: This application is currently in alpha stages of development. If you experience any bugs, please report them through the GitHub repo.

If you want to understand the planned progression of this application, releases are currently detailed in a todo list within this repository.

Installation

Install this app using NPM: npm install -g logger-app

Then run the using the command logger-app. This will run the app on the default ports, 8080 for the web server and 3030 for the API. If you need to change these, see the below details on configuration.

Offline Installation

If you would like to deploy this to a server which doesn't have an outgoing internet connection or can't access the NPM repo, do so using npmbox. You will first need to install NodeJS/NPM and npmbox offline, this is a relatively easy and well documented process.

App Configuration

By default the app will run the UI server on port 8080 and the API server on port 3030. These, and other values, can be changed using the following methods:

1. Through the web UI

You can access the app settings through the web UI. There you can change various app settings and they will be saved back to whichever config file you are using (see below).

So if you don't want to have to manually edit any config, start the app, make your changes through the UI and then restart the app for them to take effect. Note: Only port value changes need an app restart.

2. External config file

You must use the command-line parameter --config [file] or -c [file] to specify specific config file to be used. This must be a JSON file and can be stored anywhere that the app process has access to. If any essential properties are missing from this file they will be created with default values on startup.

If you need to create a new config file you can generate one using the command --newconfig [file] or -n [file].

3. Command-line overrides

You can override app config values by passing command line arguments, either --port [port] and --apiport [apiport] or -p [port] and -a [apiport]. These settings can be used along side a config file but will always override the values found there.

System Configuration

The method of adding/editing/deleting groups and logs through the UI is currently in development. Please make your changes manually in either of the two config file methods mentioned above.

How it works

This project is a fork of the brilliant react-redux-universal-hot-example boilerplate.

Current Tags

  • 1.0.4                                ...           latest (3 years ago)

20 Versions

  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
  • 0.8.2                                ...           4 years ago
  • 0.8.1                                ...           4 years ago
  • 0.8.0                                ...           4 years ago
  • 0.7.0                                ...           4 years ago
  • 0.5.2                                ...           4 years ago
  • 0.5.1                                ...           4 years ago
  • 0.5.0                                ...           4 years ago
  • 0.4.0                                ...           4 years ago
  • 0.3.1                                ...           4 years ago
  • 0.3.0                                ...           4 years ago
  • 0.2.0                                ...           4 years ago
  • 0.1.3                                ...           4 years ago
  • 0.1.2                                ...           4 years ago
  • 0.1.1                                ...           4 years ago
  • 0.1.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |