Relative Content

Tag Archive for laravellaravel-10

Laravel. Log::build doesn’t take into account the value from the ‘tap’ parameter in the passed configuration

Laravel Version 10.48.14 but the problem persists for the newest version as well PHP Version 8.1.2 Description When creating a logger using the build method, like this: $logger = Log::build([ ‘driver’ => ‘daily’, ‘tap’ => [ AppLoggingCustomizeFormatter::class ], ‘path’ => storage_path(‘logs/test.log’), ‘level’ => env(‘LOG_LEVEL’, ‘debug’), ‘replace_placeholders’ => true, ‘days’ => 14, ]); classes that are […]

Laravel sessions buggy behavior

I have a weird problem where sometimes sessions won’t be stored, either using the helper or the $request->session()->put(...); method.