Giter Site home page Giter Site logo

Comments (5)

mstenta avatar mstenta commented on September 13, 2024 1

I experienced this too, and found that it was already fixed by this commit in 2020: 625410f

However, there hasn't been a tagged release of this project since v1.0.1 in 2017.

If a new release gets tagged, this will be fixed.

Pinging the maintainers listed in composer.json: @chobie @sotarok @DQNEO

from fluent-logger-php.

NScodeCS avatar NScodeCS commented on September 13, 2024

Any updates on releasing a new version?

from fluent-logger-php.

DQNEO avatar DQNEO commented on September 13, 2024

Sorry for the long absence. Sadly, current maintainers are no longer active in this repo. Would any of you like to be new maintainer of this repo ?

from fluent-logger-php.

NScodeCS avatar NScodeCS commented on September 13, 2024

@DQNEO I will kindly decline.

from fluent-logger-php.

m-ostadi avatar m-ostadi commented on September 13, 2024

I trace this error with xdebug and I found that it try tcp by default and it not support udp, and the fluentd syslog input is set on udp by default. So for using udp I go for monolog SyslogUdpHandler and tried this config and it worked for me.
add this config to logging channels :

'fluent' => [
            'driver' => 'monolog',
            'level' => env('LOG_LEVEL', 'debug'),
            'handler' => \Monolog\Handler\SyslogUdpHandler::class,
            'handler_with' => [
                'host' => env("FLUENTD_HOST"),
                'port' => env("FLUENTD_PORT"),
                'rfc' => \Monolog\Handler\SyslogUdpHandler::RFC3164 , 
                'ident' => 'laravel', //tag
                //'facility' => LOG_LOCAL0   //default => LOG_USER       ( this specify the second word after period in tag)
            ],
            'formatter' => \Monolog\Formatter\JsonFormatter::class,
        ]

from fluent-logger-php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.