Comments (5)
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.
Any updates on releasing a new version?
from fluent-logger-php.
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.
@DQNEO I will kindly decline.
from fluent-logger-php.
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)
- fix fclose warnings HOT 1
- Monolog and/or PSR-3 HOT 3
- Feature Request - batch logging in FluentLogger->post() function HOT 4
- Add max_write_connection option HOT 3
- Breaking MongoDate HOT 6
- Add phpunit into composer.json require-dev HOT 2
- Propose to abandon other loggers than FluentLogger HOT 9
- Documentation for v1.0.0
- Fluentd TCP Input not working HOT 2
- is there an option to send the data through udp? HOT 1
- Error Reported
- Losing logs + lots of lines in stderr (error.log nginx) HOT 1
- Support for microsecond resolution in timestamp
- 'message' => 'fwrite(): send of 123 bytes failed with errno=110 Connexion terminée par expiration du délai d\'attente',
- Seems like the post() method of FluentLogger can not handle numeric arrays
- Incompatible with Fluent Bit: expecting an array (type=2) HOT 2
- unable to connect to tcp://localhost:24224 HOT 1
- If the number of bytes written equal to zero error_get_last() returns not related error
- Seeking New Maintainers for this repository
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-logger-php.