2017 © Pedro Peláez
 

library logger

Rudl UDP cluster logging library (PSR4 compliant)

image

rudl/logger

Rudl UDP cluster logging library (PSR4 compliant)

  • Thursday, August 10, 2017
  • by dermatthes
  • Repository
  • 1 Watchers
  • 0 Stars
  • 683 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 35 % Grown

The README.md

rudl-client-php

Cluster logging, request-tracking, accounting (UDP) client driver for PHP 5/7, (*1)

Features

This project is the client-side library. Check out Rudl - Open-Source Cluster Log Analyzer to see it in Action. It's Big-Data (up to 190.000 requests/second per Rudl-instance). It's cluster aware. And it's setup within 30 seconds using zero config docker container., (*2)

  • Remote Logging: Log hundreds of Servers, Projects, Microservices to one or more Rudl Endpoints
  • Fast & Reliable: Rudl Messages are being sent by UDP. This is fast (<0.00001 sec/message) and reliable in case of Endpoint failure
  • Per Request Logging: Rudl logs every single request including accounting information (CPU Time, Traffic consumed, Errors/Exceptions). Analyse performance issues or dos-attacks in an early stage.
  • Big Data: Analyze what you want using MongoDB Aggregation Framework and fancy graphing
  • PSR4 & Framework integration: Rudl client integrates with your favorite Framework
  • Syslog aware: Rudl is aware of the syslog remote logging protocol
  • Anonymizer: Make your logs anonymous client-side

See our demos at Rudl - Open-Source Cluster Log Analyzer, (*3)

Easy to use

Install it using composer:, (*4)

composer require rudl/logger

and setup the Request Logging:, (*5)

RudlClient::Init("rudl.endpoint.ip")
    ->setSystemId("FancyApp")
    ->registerExceptionHandler()
    ->registerRequestLogging();

That's it. This example will:, (*6)

  • Make this Project findable under its name FancyApp
  • Log CPU Usage, Total Script time, Memory usage, Request, Traffic (in/out) for each request
  • Log Exceptions

Request-Based resource logging

RudlClient::registerRequestLogging() will register a shutdown-function and log information about the request including:, (*7)

  • CPU Time consumed
  • CPU System Type consumed
  • Memory Peak usage
  • Total script runtime
  • Hostname and Request URI
  • Client IP-Address

Exception Catching

The Versions

10/08 2017

dev-master

9999999-dev http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing

08/08 2017

v0.8

0.8.0.0 http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing

08/08 2017

v0.7

0.7.0.0 http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing

08/08 2017

v0.6

0.6.0.0 http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing

08/08 2017

v0.5

0.5.0.0 http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing

08/08 2017

v0.4

0.4.0.0 http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing

08/08 2017

v0.2

0.2.0.0 http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing

08/08 2017

v0.1

0.1.0.0 http://leuffen.de

Rudl UDP cluster logging library (PSR4 compliant)

  Sources   Download

MIT

The Requires

  • php >=5.4

 

html html5 tokenizer parsing