# rsg-log-server

> A tiny server that accepts Serilog logs via HTTP post and adds them to your MongoDB database.

Latest version **0.0.3** (published 2015-12-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install rsg-log-server
pnpm add rsg-log-server
yarn add rsg-log-server
bun add rsg-log-server
```

Provides the command `rsg-log-server`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2015-12-14 |
| First published | 2015-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 3 |
| Author | ashley.davis@realseriousgames.com |
| Maintainers | adamsingle, ashleydavis |

## Links

- npm: https://www.npmjs.com/package/rsg-log-server
- Repository: https://github.com/Real-Serious-Games/LogServer
- Issues: https://github.com/Real-Serious-Games/LogServer/issues
- npm.io page: https://npm.io/package/rsg-log-server

## Dependencies (7)

- [linq](https://npm.io/package/linq.md) ^3.0.4-beta
- [yargs](https://npm.io/package/yargs.md) ^3.11.0
- [moment](https://npm.io/package/moment.md) ^2.9.0
- [express](https://npm.io/package/express.md) ^4.12.2
- [confucious](https://npm.io/package/confucious.md) 0.0.9
- [body-parser](https://npm.io/package/body-parser.md) ^1.12.0
- [promised-mongo](https://npm.io/package/promised-mongo.md) ^0.11.1

## Recent versions

- 0.0.3 (latest) — 2015-12-14
- 0.0.2 — 2015-11-19
- 0.0.1 — 2015-11-19

## README

# Log-Server

A tiny server for receiving Serilog logs via HTTP post.

The logs are stored to MongoDB.

## Install

	npm install -g rsg-log-server

## Run

	rsg-log-server [--port <portno>] [--db <database-connection-string>] [--logsCollection <database-collection>] [--errorsCollection <database-collection>]

## Configuration

Edit the file config.json where you can set the database, collections and port for the server.
	
	{
	    "db": "logs",
	    "logsCollection": "logs",
		"errorsCollection": "errors",
	    "port": 3000
	}

The *port*, *db*, *logsCollection* and *errorsCollection* can be overridden by the command line.

---
_Source: https://npm.io/package/rsg-log-server · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
