Skip to content

Commit

Permalink
refactor: update logs and track
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Mar 10, 2024
1 parent 7cfb895 commit 17d1ecd
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 44 deletions.
2 changes: 1 addition & 1 deletion app/Http/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Kernel extends HttpKernel
\Illuminate\View\Middleware\ShareErrorsFromSession::class,
\App\Http\Middleware\VerifyCsrfToken::class,
\Illuminate\Routing\Middleware\SubstituteBindings::class,
\App\Http\Middleware\TrackPageview::class,
\Pirsch\Http\Middleware\TrackPageview::class,
],

'api' => [
Expand Down
29 changes: 0 additions & 29 deletions app/Http/Middleware/TrackPageview.php

This file was deleted.

2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"laravel/scout": "^10.6",
"laravel/tinker": "^2.8",
"mauricius/laravel-htmx": "^0",
"monicahq/laravel-cloudflare": "^3.5",
"monicahq/laravel-cloudflare": "3.7",
"openai-php/laravel": "^0",
"pirsch-analytics/laravel-pirsch": "^0",
"spatie/laravel-sitemap": "^7.0",
Expand Down
21 changes: 10 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions config/logging.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single'],
'ignore_exceptions' => false,
'channels' => explode(',', env('LOG_STACK_CHANNELS', 'single')),
'ignore_exceptions' => env('LOG_STACK_IGNORE_EXCEPTIONS', false),
],

'single' => [
Expand Down

0 comments on commit 17d1ecd

Please sign in to comment.