monolog-bundle icon indicating copy to clipboard operation
monolog-bundle copied to clipboard

Symfony Monolog Bundle

Results 73 monolog-bundle issues
Sort by recently updated
recently updated
newest added

The optional 'exclude_fields' param is being added to the Slack handler in this PR. See the SlackHandler [constructor](https://github.com/Seldaek/monolog/blob/main/src/Monolog/Handler/SlackHandler.php#L59) in the Monolog repo.

Fixed wrong parameter type in documentation of rotating_file handler

Hi, I use a service definition config like this one: ```php return static function (ContainerConfigurator $container) { $services = $container->services(); $services ->defaults() ->autowire() ->autoconfigure() ->tag('monolog.logger', ['channel' => 'defaultchannel']) ; $services...

Based on https://github.com/symfony/monolog-bundle/pull/485

"symfony/monolog-bundle": "^3.10" "php": ">=8.2" I have the monolog.yaml for my dev, stage and prod environments: ```yaml monolog: handlers: console: type: stream path: 'php://stdout' level: info channels: [ 'console' ] errors:...

Note: needs https://github.com/symfony/symfony/pull/59955 Closes https://github.com/symfony/symfony/issues/58715

This commit introduces the ability to specify custom encoders (`json` and `compressed_json`) for Gelf publishers in Monolog's configuration. Overview This PR introduces an enhancement to the Symfony Monolog Bundle by...

The upstream [Elastica project](https://github.com/ruflin/Elastica) released [version 8](https://github.com/ruflin/Elastica/releases/tag/8.0.0) last year, changing the [client initialization](https://github.com/ruflin/Elastica/blob/8.x/UPGRADE-8.0.md#client) from taking `host` to `hosts` and removing `port` entirely. [Upstream](https://github.com/Seldaek/monolog/blob/main/composer.json#L36) supports this version, but [our initialization logic](https://github.com/symfony/monolog-bundle/blob/master/DependencyInjection/MonologExtension.php#L304)...

As noted [here](https://github.com/symfony/monolog-bundle/pull/438#issuecomment-1542839322), using [`type: elastic_search`](https://github.com/symfony/monolog-bundle/blob/master/DependencyInjection/Configuration.php#L83) for a handler does not work. We attempt to [pass the host as `host`](https://github.com/symfony/monolog-bundle/blob/master/DependencyInjection/MonologExtension.php#L294), but the [`ClientBuilder::fromConfig`](https://github.com/elastic/elasticsearch-php/blob/main/src/ClientBuilder.php#L144) from upstream expects a plural [`hosts` array](https://github.com/elastic/elasticsearch-php/blob/main/src/ClientBuilder.php#L213)....