appserver-io/logserver

A log server accepting http requests on udp to log async to configured locations over network.

0.1.1 2014-11-03 17:37 UTC

This package is not auto-updated.

Last update: 2024-12-17 02:59:24 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