New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support to log to redis #292
Commits on Dec 7, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 00ed2f3 - Browse repository at this point
Copy the full SHA 00ed2f3View commit details
Commits on May 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 9f6f0b6 - Browse repository at this point
Copy the full SHA 9f6f0b6View commit details
Commits on Jun 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 86fd51e - Browse repository at this point
Copy the full SHA 86fd51eView commit details
Commits on Oct 15, 2018
-
Ruud Van den Dungen committed
Oct 15, 2018 Configuration menu - View commit details
-
Copy full SHA for a3790d9 - Browse repository at this point
Copy the full SHA a3790d9View commit details
Commits on Nov 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 7fdda67 - Browse repository at this point
Copy the full SHA 7fdda67View commit details
Commits on Jan 3, 2019
-
Merge branch 'master' of https://github.com/symfony/monolog-bundle
Ruud Van den Dungen committedJan 3, 2019 Configuration menu - View commit details
-
Copy full SHA for d24abd1 - Browse repository at this point
Copy the full SHA d24abd1View commit details
Commits on Jan 16, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 24291fb - Browse repository at this point
Copy the full SHA 24291fbView commit details
Commits on Jan 31, 2019
-
minor symfony#293 Remove duplicate entry (B-Galati)
This PR was merged into the 3.x-dev branch. Discussion ---------- Remove duplicate entry Commits ------- 24291fb Remove duplicate entry
Configuration menu - View commit details
-
Copy full SHA for 523768f - Browse repository at this point
Copy the full SHA 523768fView commit details
Commits on Feb 22, 2019
-
Configuration menu - View commit details
-
Copy full SHA for cc9abf6 - Browse repository at this point
Copy the full SHA cc9abf6View commit details
Commits on Mar 12, 2019
-
feature symfony#297 Expose configuration for the ConsoleHandler (lyrixx)
This PR was merged into the 3.x-dev branch. Discussion ---------- Expose configuration for the ConsoleHandler Like that we will be able to use this configuration (for example): ```yaml console: type: console process_psr_3_messages: false channels: ["!event", "!doctrine", "!console"] console_formater_options: format: "%%datetime%% %%start_tag%%%%level_name%%%%end_tag%% <comment>[%%channel%%]</> %%message%%%%context%%\n" multiline: false ``` see also symfony/symfony#30345 Commits ------- cc9abf6 Expose configuration for the ConsoleHandler
Configuration menu - View commit details
-
Copy full SHA for 005aefb - Browse repository at this point
Copy the full SHA 005aefbView commit details
Commits on May 2, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 981d74f - Browse repository at this point
Copy the full SHA 981d74fView commit details
Commits on May 16, 2019
-
feature symfony#285 Register processors for autoconfiguration (nicola…
…s-grekas) This PR was merged into the 3.x-dev branch. Discussion ---------- Register processors for autoconfiguration Replaces symfony/symfony#27801 (which has been reverted meanwhile) Leverages Seldaek/monolog#1204 Already documented in symfony/symfony-docs#9996 (but doc needs update) Commits ------- 7fdda67 Register processors for autoconfiguration
Configuration menu - View commit details
-
Copy full SHA for 969e476 - Browse repository at this point
Copy the full SHA 969e476View commit details -
minor symfony#301 Fix typo in PhpDoc (jdreesen)
This PR was merged into the 3.x-dev branch. Discussion ---------- Fix typo in PhpDoc As the `DeduplicationHandler` extends the `BufferHandler` I think the wording for the `handler` parameter should be the same. Commits ------- 981d74f Fix typo in PhpDoc
Configuration menu - View commit details
-
Copy full SHA for 962a2e1 - Browse repository at this point
Copy the full SHA 962a2e1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 366f692 - Browse repository at this point
Copy the full SHA 366f692View commit details -
feature symfony#279 Flush loggers on kernel.reset (dnna)
This PR was squashed before being merged into the 3.x-dev branch (closes symfony#279). Discussion ---------- Flush loggers on kernel.reset Fixes php-pm/php-pm-httpkernel#134 and php-pm/php-pm-httpkernel#62 When using [PHP-PM](https://github.com/php-pm/php-pm) the worker does not die at the end of the request, so the shutdown functions registered by monolog are never triggered (so for example `BufferHandler` never flushes). This PR partially fixes the problem by flushing the loggers containing a `flush` function at the end of each request. I did not use the `close` function (mentioned in Seldaek/monolog#1053) because some loggers use sockets or other connections that would be closed in this case and not be reusable in the next request. I'm not sure if this is the best solution to this problem, happy to discuss alternatives if there is a better way. Commits ------- 366f692 Flush loggers on kernel.reset
Configuration menu - View commit details
-
Copy full SHA for 6684794 - Browse repository at this point
Copy the full SHA 6684794View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7c1046 - Browse repository at this point
Copy the full SHA a7c1046View commit details -
Configuration menu - View commit details
-
Copy full SHA for f6c8593 - Browse repository at this point
Copy the full SHA f6c8593View commit details -
feature symfony#302 Deprecate "excluded_404s" option (geoffrey-brier)
This PR was merged into the 3.x-dev branch. Discussion ---------- Deprecate "excluded_404s" option replaces symfony#275 fixed symfony/symfony#26969 I have fixed confliects + CS + updated the CHANGELOG Commits ------- f6c8593 Deprecrate "excluded_404s" option
Configuration menu - View commit details
-
Copy full SHA for d810fcc - Browse repository at this point
Copy the full SHA d810fccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f8e531 - Browse repository at this point
Copy the full SHA 9f8e531View commit details -
feature symfony#270 Support environment option for raven client (Taluu)
This PR was merged into the 3.x-dev branch. Discussion ---------- Support environment option for raven client In sentry 9, we can filter logs thourgh environments. This PR allows to support this option. Commits ------- 86fd51e Support environment option for raven client
Configuration menu - View commit details
-
Copy full SHA for c720aab - Browse repository at this point
Copy the full SHA c720aabView commit details -
feature symfony#267 Allow setting "ident" parameter for SyslogUdpHand…
…ler, affects symfony#266 (dhirtzbruch) This PR was merged into the 3.x-dev branch. Discussion ---------- Allow setting "ident" parameter for SyslogUdpHandler, affects symfony#266 As outlined in ticket symfony#266: The SyslogUdpHandler constructor has a sixth parameter "ident", defaulting to "php". However, the current Monolog Bundle implementation allows setting only the first five. Which defaults to the "ident" being set to "php". In our case, we are using papertrail as a log backend, and use the same webserver for multiple small projects. In papertrail, that results in the following output: ``` May 05 02:16:30 vagrant php: app.ERROR: fooo {"exception":"[object] (Exception(code: 0): fooo at /var/customers/webs/fastbolt/https/env1.fastbolt.com/src/Pricecalc/UserBundle/Controller/SecurityController.php:36)","username":"anon.","uri":"http://env1.dev.local/login","level":"critical"} [] May 05 02:18:32 vagrant php: app.ERROR: fooo {"exception":"[object] (Exception(code: 0): fooo at /var/customers/webs/fastbolt/https/env2.fastbolt.com/src/Pricecalc/UserBundle/Controller/SecurityController.php:36)","username":"anon.","uri":"http://env2.dev.local/login","level":"critical"} [] ``` The "php" after "vagrant" is the ident configuration. As you can see, we are not able to determine the source environment, other than guessing from filepath or uri. However, for filtering using the API, we`d like to be able to change the ident per configuration. ``` monolog: handlers: syslog: type: syslogudp host: example.com port: 514 level: error ident: env1 ``` Using that config, we should be able to achieve the following log: ``` May 05 02:16:30 vagrant env1: app.ERROR: fooo {"exception":"[object] (Exception(code: 0): fooo at /var/customers/webs/fastbolt/https/env1.fastbolt.com/src/Pricecalc/UserBundle/Controller/SecurityController.php:36)","username":"anon.","uri":"http://env1.dev.local/login","level":"critical"} [] May 05 02:18:32 vagrant env2: app.ERROR: fooo {"exception":"[object] (Exception(code: 0): fooo at /var/customers/webs/fastbolt/https/env2.fastbolt.com/src/Pricecalc/UserBundle/Controller/SecurityController.php:36)","username":"anon.","uri":"http://env2.dev.local/login","level":"critical"} [] ``` Please let me know if there is anything else I should do, as that`s my first PR/issue here. Commits ------- 9f6f0b6 Allow setting "ident" parameter for SyslogUdpHandler, affects symfony#266
Configuration menu - View commit details
-
Copy full SHA for b97e237 - Browse repository at this point
Copy the full SHA b97e237View commit details -
feature symfony#303 Fixed PHPUnit Warning (lyrixx)
This PR was merged into the 3.x-dev branch. Discussion ---------- Fixed PHPUnit Warning Commits ------- 9f8e531 Fixed PHPUnit Warning
Configuration menu - View commit details
-
Copy full SHA for a6c3267 - Browse repository at this point
Copy the full SHA a6c3267View commit details -
feature symfony#242 Add stream handler lock option (mRoca)
This PR was merged into the 3.x-dev branch. Discussion ---------- Add stream handler lock option This PR adds the $useLocking StreamHandler argument : https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/StreamHandler.php#L44 Commits ------- 00ed2f3 Add stream handler lock option
Configuration menu - View commit details
-
Copy full SHA for 036cd4b - Browse repository at this point
Copy the full SHA 036cd4bView commit details
Commits on May 28, 2019
-
add better explanation of wat an id is
Ruud Van den Dungen committedMay 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 2e0714e - Browse repository at this point
Copy the full SHA 2e0714eView commit details -
Ruud Van den Dungen committed
May 28, 2019 Configuration menu - View commit details
-
Copy full SHA for 100cfde - Browse repository at this point
Copy the full SHA 100cfdeView commit details
Commits on Jun 3, 2019
-
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for a143416 - Browse repository at this point
Copy the full SHA a143416View commit details -
add better explanation of wat an id is
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for f07d51b - Browse repository at this point
Copy the full SHA f07d51bView commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 9c992e1 - Browse repository at this point
Copy the full SHA 9c992e1View commit details -
Merge branch 'add-redis-config-support' of https://github.com/ruudvdd…
…/monolog-bundle into add-redis-config-support
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for efc4265 - Browse repository at this point
Copy the full SHA efc4265View commit details -
fix exception messages when a certain redis class does not exist
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for b43daff - Browse repository at this point
Copy the full SHA b43daffView commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 7a1dcab - Browse repository at this point
Copy the full SHA 7a1dcabView commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 56709bc - Browse repository at this point
Copy the full SHA 56709bcView commit details -
change back type and fix configuration
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for e2fc27d - Browse repository at this point
Copy the full SHA e2fc27dView commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 5448621 - Browse repository at this point
Copy the full SHA 5448621View commit details -
add better explanation of wat an id is
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 4a01df8 - Browse repository at this point
Copy the full SHA 4a01df8View commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for eabdb9c - Browse repository at this point
Copy the full SHA eabdb9cView commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for ad6b37f - Browse repository at this point
Copy the full SHA ad6b37fView commit details -
add better explanation of wat an id is
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for e23d1ff - Browse repository at this point
Copy the full SHA e23d1ffView commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for d1ca48b - Browse repository at this point
Copy the full SHA d1ca48bView commit details -
fix exception messages when a certain redis class does not exist
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 2e09bfd - Browse repository at this point
Copy the full SHA 2e09bfdView commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 5d8ee96 - Browse repository at this point
Copy the full SHA 5d8ee96View commit details -
Ruud Van den Dungen committed
Jun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for ec0dc0c - Browse repository at this point
Copy the full SHA ec0dc0cView commit details -
change back type and fix configuration
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for 7a012af - Browse repository at this point
Copy the full SHA 7a012afView commit details -
Merge branch 'add-redis-config-support' of https://github.com/ruudvdd…
…/monolog-bundle into add-redis-config-support
Ruud Van den Dungen committedJun 3, 2019 Configuration menu - View commit details
-
Copy full SHA for dee6679 - Browse repository at this point
Copy the full SHA dee6679View commit details