kreait / laravel-firebase

A Laravel package for the Firebase PHP Admin SDK
https://github.com/kreait/firebase-php
MIT License
994 stars 163 forks source link

Log Channel Not Working #223

Closed circuitmamu closed 2 days ago

circuitmamu commented 2 days ago

Describe the bug

I have my own custom channel named activity


LOG_CHANNEL=daily
FIREBASE_HTTP_LOG_CHANNEL=activity
FIREBASE_HTTP_DEBUG_LOG_CHANNEL=activity

my .env values is like above

$member->notify(new \App\Notifications\TransactionSuccess($data)); inside constructer of notification \Illuminate\Support\Facades\Log::setDefaultDriver('activity'); \Illuminate\Support\Facades\Log::info('This is test msg only need in activity');

When I called test log is in activity file and notitification is goes to quque which is clear every minute and at that time my log of firebase is not coming to activity file

Am I missing something?

Installed packages

classified

PHP version and extensions

PHP 8.2.0 with all necessary extension

Steps to reproduce the issue.

you can do with any notification that uses via \NotificationChannels\Fcm\FcmChannel\FcmChannel:class

Error message/Stack trace

No errors

Additional information

when notification run through job logs generating to other files

jeromegamez commented 2 days ago

Classified, huh.

I don't maintain the FCM Notification Channel, you might want to raise the issue here:

https://github.com/laravel-notification-channels/fcm