appserver-io / logserver
A log server accepting http requests on udp to log async to configured locations over network.
Requires
- php: >=5.4.0
- monolog/monolog: 1.10.*
- psr/log: *
- techdivision/connection: 0.1.*
- techdivision/http: 0.1.*
- techdivision/server: 0.1.*
- techdivision/webserver: 0.2.*
Requires (Dev)
- appserver-io/build: 0.1.*
- phpunit/phpunit: 3.7.*
This package is not auto-updated.
Last update: 2024-11-19 02:42:23 UTC
README
Introduction
A log server accepting http requests on udp to log async to configured locations over network.
We use this in the appserver.io
project as a server component for internal logging.
Issues
In order to bundle our efforts we would like to collect all issues regarding this package in the main project repository's issue tracker.
Please reference the originating repository as the first element of the issue title e.g.:
[appserver-io/<ORIGINATING_REPO>] A issue I am having
Installation
If you want to use the log server with your application you can install it by adding
{ "require": { "appserver-io/logserver": "dev-master" }, }
to your composer.json
and invoke composer update
in your project.
Usage
If you can satisfy the requirements it is very simple to use the logserver. Just do this:
git clone https://github.com/appserver-io/logserver
cd logserver
composer install
PHP_BIN=/path/to/your/threadsafe/php-binary src/bin/logserver
If you're using appserver.io
the startup will be:
PHP_BIN=/opt/appserver/bin/php src/bin/logserver
Now the server is listening on 0.0.0.0:9514
.
You can send normal http request into the log server in a specific way which is not clear yet.
More documentation on how requests should look like and how to configure the locations is comming soon...
External Links
- Documentation at appserver.io
- Documentation on GitHub
- Getting started