monolog
monolog copied to clipboard
Sends your logs to files, sockets, inboxes, databases and various web services
Monolog version `1.24.0` on PHP 8, running on Windows We've just started logging the peak memory usage of all web requests and CLI runs in our application so that we...
### Symptom About half of the messages are dropped in an undeterministic fashion. This applies to single messages as well as bulk-sending e.g. 20 messages. ### How to reproduce I...
Monolog version 2 Got these lot of errors when sudden burst traffic hit the service. Even though the request end up success with HTTP 200, unfortunately this make additional at...
I need someone else review oh this code. I took it from [https://www.php.net/manual/en/function.stream-set-timeout.php#118619](url) Thanks in advance
Monolog version 1.26.1 In a Laravel application we are using the SlackHandler for verbose logging. We see from our APM New Relic that certain logging processes are taking much longer...
Monolog version: 1.25.3 I'm using DeduplicationHandler to avoid duplicated deprecation messages but it still passes all entries via `$this->handler->handleBatch($this->buffer);` to the next handler (_RotatingFileHandler_). I think this is because of...
**Steps to reproduce** Error handler: ``` public function handleError($type, $message, $file, $line) { $exception = new \ErrorException(); $trace = $exception->getTrace(); array_shift($trace); $this->getLogger()->log($this->errorTypeToLogLevel($type), $message, $trace) } ``` Next in MongoDBFormatter::formatArray we...
https://github.com/Seldaek/monolog/pull/1587 did some hackery: - removed rollbar/rollbar from require-dev, this should be rolled back when https://github.com/rollbar/rollbar-php/pull/536 is merged, and rollbar should be removed from phpstan.neon - inlined psr/log's LoggerInterfaceTest, when...
This is an issue in the docs. From here: https://github.com/Seldaek/monolog/blob/main/doc/01-usage.md#core-concepts > Every Logger instance has a channel (name) and a stack of handlers. Whenever you add a record to the...
I have a question regarding both version `1.x` and `2.x`. In getsentry/sentry-php#1189 there is an open question about what is the general expected behaviour of the `HandlerInterface::handle()` method in regards...