Releases: cego/request-log
Releases · cego/request-log
3.0.1
3.0.0
1.2.1
Use log facade instead of getLogger, as it will then add shared context.
Don't log headers and cookies as entire objects
1.2.0 Don't expand objects, when logging to ecs
Don't log headers and cookies as entire objects
What's Changed
- Fix dependencies by @LauJosefsen in #47
- Added low cardinality laravel route by @LauJosefsen in #38
- Don't log headers and cookies as entire objects. Prevents elastic field explosion. by @firecow in #43
- Add php-cs-fixer and phpunit by @firecow in #48
- Fix QA badge in README.md by @firecow in #49
Full Changelog: 2.0.0...2.1.0
Laravel 11 and initial work on removing migrations.
Laravel 11 is a requirement for ^2.0.0.
- Furthermore this release adds a migration that drops all the request-logs table. Please make sure you have upgraded to request-logs:>=1.0.0, before applying these migrations.
Remove elastic-apm dependency
Add low cardinality route to log context.
Merge pull request #37 from cego/lejo/use-throwable-instead-of-exception Lejo/use throwable instead of exception
Use correct type for $response->exception, which apparently is not always an exception.
Merge pull request #37 from cego/lejo/use-throwable-instead-of-exception Lejo/use throwable instead of exception
Truncation of long bodies and bugfixes
- New config setting, defaults to 10000. If string body length of either reponse or request body is above 10k, truncate it to not have gigantic documents in elastic.
- Fix for a bug where an error is logged if exception did not exist on a reponse object.