https://github.com/devpaul/logging-server
https://github.com/devpaul/logging-server
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devpaul/logging-server
- Owner: devpaul
- License: mit
- Created: 2012-10-19T23:31:08.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2013-01-28T18:03:24.000Z (over 13 years ago)
- Last Synced: 2024-04-15T10:48:21.212Z (about 2 years ago)
- Language: JavaScript
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: license.txt
Awesome Lists containing this project
README
# Basic Logging Server
[](https://travis-ci.org/devpaul/logging-server)
A basic logging endpoint written in node
## Starting the Server
to start the server run:
`node ./app.js`
### Command-line options
See app.js for all command-line options (in case this document becomes stale)
``` bash
--port (port number) (default is port 2468)
-s or --strategy defines the logging strategy (default is syslog)
```
## Project Goals
* create a basic node service
* fully tested with unit, functional and load tests
* separation of concerns
* productionalized with up-time and monitoring module
* combines with other services modules (e.g. credentials) to form a server
## Features
* restful logging (POST/GET)
* websockets logging
* ability to attach to an express instance
* logging to console
* logging to syslog
## Testing
You can test locally with the command line:
``` bash
npm test
```
Testing is also performed using [Travis-CI](http://travis-ci.org).