2017 © Pedro Peláez
 

library logger

a logging library for Fluentd

image

fluent/logger

a logging library for Fluentd

  • Tuesday, April 3, 2018
  • by chobie
  • Repository
  • 38 Watchers
  • 183 Stars
  • 1,172,776 Installations
  • PHP
  • 24 Dependents
  • 1 Suggesters
  • 37 Forks
  • 9 Open issues
  • 17 Versions
  • 7 % Grown

The README.md

Fluent Logger PHP

fluent-logger-php is a PHP library to record events to fluentd from a PHP application., (*1)

Build Status, (*2)

Requirements

  • PHP 5.6 or higher
  • fluentd v0.9.20 or higher

Installation

Using Composer

composer.json, (*3)

{
    "require": {
        "fluent/logger": "v1.0.0"
    }
}

Backward Compatibility Changes

As of v1, all loggers but FluentLogger are removed., (*4)

Monolog is recommended in such use cases., (*5)

Usage

PHP side

<?php

require_once __DIR__.'/vendor/autoload.php';

use Fluent\Logger\FluentLogger;
$logger = new FluentLogger("localhost","24224");
$logger->post("debug.test",array("hello"=>"world"));

Fluentd side

Use in_forward., (*6)

<source>
  @type forward
</source>

Todos

  • Stabilize method signatures.
  • Improve performance and reliability.

Restrictions

  • Buffering and re-send support

PHP does not have threads. So, I strongaly recommend you use fluentd as a local fluent proxy., (*7)

apache2(mod_php)
fluent-logger-php
                 `-----proxy-fluentd
                                    `------aggregator fluentd

License

Apache License, Version 2.0, (*8)

Contributors

  • Daniele Alessandri
  • Hiro Yoshikawa
  • Kazuki Ohta
  • Shuhei Tanuma
  • Sotaro KARASAWA
  • edy
  • kiyoto
  • sasezaki
  • satokoma
  • DQNEO

The Versions

03/04 2018

dev-master

9999999-dev http://github.com/fluent/fluent-logger-php

a logging library for Fluentd

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar DQNEO
by Sotaro Karasawa

log logging

24/03 2017

dev-DQNEO-patch-1

dev-DQNEO-patch-1 http://github.com/fluent/fluent-logger-php

a logging library for Fluentd

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar DQNEO
by Sotaro Karasawa

log logging

15/02 2017

v1.0.1

1.0.1.0 http://github.com/fluent/fluent-logger-php

a logging library for Fluentd

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar DQNEO
by Sotaro Karasawa

log logging

16/10 2015

v1.0.0

1.0.0.0 http://github.com/fluent/fluent-logger-php

a logging library for Fluentd

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

The Development Requires

by Avatar DQNEO
by Sotaro Karasawa

log logging

15/07 2014

v0.3.8

0.3.8.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

by Sotaro Karasawa

log logging

26/10 2013

dev-develop

dev-develop http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

by Sotaro Karasawa

log logging

06/04 2013

v0.3.7

0.3.7.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

by Sotaro Karasawa

log logging

24/09 2012

dev-feature/add_retry_socket_opt

dev-feature/add_retry_socket_opt http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

by Sotaro Karasawa

log logging

11/04 2012

v0.3.6

0.3.6.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

by Sotaro Karasawa

log logging

11/04 2012

v0.3.5

0.3.5.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

by Sotaro Karasawa

log logging

11/04 2012

v0.3.4

0.3.4.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

by Sotaro Karasawa

log logging

15/03 2012

v0.3.3

0.3.3.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

log logging

28/02 2012

v0.3.2

0.3.2.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

log logging

26/02 2012

dev-feature/improve-postimpl

dev-feature/improve-postimpl http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

log logging

25/02 2012

v0.3.1

0.3.1.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

log logging

24/02 2012

v0.3.0

0.3.0.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

log logging

12/02 2012

v0.1.0

0.1.0.0 http://github.com/fluent/fluent-logger-php

distributed logging for PHP 5.3

  Sources   Download

Apache

The Requires

  • php >=5.3.0

 

log logging