{"id":41748439,"url":"https://github.com/playtini/logger_extra_bundle","last_synced_at":"2026-01-25T01:07:25.229Z","repository":{"id":57042612,"uuid":"376041967","full_name":"playtini/logger_extra_bundle","owner":"playtini","description":"🐈 Add logs extra info","archived":false,"fork":false,"pushed_at":"2024-10-27T10:10:23.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-11-17T04:33:36.498Z","etag":null,"topics":["backend","bundle","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/playtini.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-11T13:56:35.000Z","updated_at":"2024-10-27T10:10:26.000Z","dependencies_parsed_at":"2023-02-08T09:45:30.460Z","dependency_job_id":null,"html_url":"https://github.com/playtini/logger_extra_bundle","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/playtini/logger_extra_bundle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playtini%2Flogger_extra_bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playtini%2Flogger_extra_bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playtini%2Flogger_extra_bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playtini%2Flogger_extra_bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/playtini","download_url":"https://codeload.github.com/playtini/logger_extra_bundle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/playtini%2Flogger_extra_bundle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28740486,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","bundle","php"],"created_at":"2026-01-25T01:07:24.733Z","updated_at":"2026-01-25T01:07:25.224Z","avatar_url":"https://github.com/playtini.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Logger Extra Bundle\n-------------------\n\nAdd logs extra information with [symfony/monolog-bundle](https://symfony.com/doc/current/logging.html).\nUsing Gelf and Logstash to send/receive logs via UDP protocol\n\nInstallation\n============\n\n### Step 1: Prepare config\n\nMake sure [symfony/monolog-bundle](https://symfony.com/doc/current/logging.html) is installed.\n\nAdd env vars:\n* `SERVICE_NAME`: service name\n* `LOGSTASH_HOST`: logstash host\n* `LOGSTASH_PORT`: logstash port\n\nAdd to `config/service.yaml`:\n```yaml\nparameters:\n    env(SERVICE_NAME): your_service_name\n    env(LOGSTASH_HOST): 127.0.0.1\n    env(LOGSTASH_PORT): 12201\n\n    service_name: '%env(string:SERVICE_NAME)%'\n    logstash_host: '%env(string:LOGSTASH_HOST)%'\n    logstash_port: '%env(string:LOGSTASH_PORT)%'\n```\n\n### Step 1: Download the Bundle\n\nOpen a command console, enter your project directory and execute the\nfollowing command to download the latest stable version of this bundle:\n\n```console\n$ composer require playtini/logger-extra-bundle\n```\n\n### Step 2: Enable the Bundle\n\nThen, enable the bundle by adding it to the list of registered bundles\nin the `config/bundles.php` file of your project:\n\n```php\n// config/bundles.php\n\nreturn [\n    // ...\n    Playtini\\LoggerExtraBundle\\ServiceLoggerExtraBundle::class =\u003e ['all' =\u003e true],\n];\n```\n\n## Usage\n\n#### Additions\nAdd custom data in each log entry.\n```yaml\nservice_logger_extra:\n    processor:\n        additions:\n            key_addition_var_1: value_addition_var_1\n            key_addition_var_2: value_addition_var_2\n```\n\n#### Loggers\n\nBy default, the bundle provides several loggers:\n* on_command (create a log entry with the cli data)\n* on_request (create a log entry with the request/response data)\n\nAdd config to include them:\n```yaml\nservice_logger_extra:\n  logger:\n    on_command: true\n    on_request: true\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaytini%2Flogger_extra_bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplaytini%2Flogger_extra_bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplaytini%2Flogger_extra_bundle/lists"}