Summer Sale! All accounts are 50% off this week.

ctyler's avatar

Telescope not logging Registered Event

So I am using Telescope for testing and troubleshooting.

When a person registers they are to select an employer form a drop down. The employer is to get an email so they can log in and verify that that person was in-fact hired by them. I need to be able to fire an email off to the employer notifying them they have a new employee register and they need to approve it.

So I go into the EventServiceProvider.php and see:


protected $listen = [
        Registered::class => [
            SendEmailVerificationNotification::class,
        ],
    ];

I see the event Registers and its listener, however there is no Event or Listener folders in app/. That is not surprising, however, what is surprising is telescope is not picking up the Event Registered when the email verification is mailed. Telescope picks up that but not the event itself and therefore not the listener either.

I heard of logging being effected if the APP_ENV is not local. Mine is local.

Any help in this area would be appreciated.

0 likes
2 replies
ctyler's avatar
ctyler
OP
Best Answer
Level 6

I was just doing some more research on this. Apparently internal events are ignored - per the documentation:

Event Watcher The event watcher records the payload, listeners, and broadcast data for any events dispatched by your application. The Laravel framework's internal events are ignored by the Event watcher.

1 like

Please or to participate in this conversation.