Hexanet / MonologExtraBundle

:memo: Symfony bundle with extra processors and logger to log request/response
MIT License
3 stars 1 forks source link

Dont normalize keys of additions #46

Closed notFloran closed 5 years ago

notFloran commented 5 years ago

At @ter-informatique/dev we use OVH Logs Data Platform and we need to send an "addition" with a token but this doesnt work with the bundle.

Example:

hexanet_monolog_extra:
    processor:
        additions:
            X-OVH-TOKEN: '%env(GRAYLOG_OVH_TOKEN)%'

Without the PR Symfony normalize X-OVH-TOKEN to X_OVH_TOKEN. The "additions" must not be normalized by Symfony.

ghost commented 5 years ago

Thanks @notFloran. I merge and release a new version.