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.
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
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.
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...
- Documentation at appserver.io
- Documentation on GitHub
- Getting started