Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logs spammed with warnings #115

Open
hakan0xFF opened this issue Oct 3, 2024 · 3 comments
Open

Logs spammed with warnings #115

hakan0xFF opened this issue Oct 3, 2024 · 3 comments

Comments

@hakan0xFF
Copy link

hakan0xFF commented Oct 3, 2024

Hey, there is a closed issue (#103) and an open PR (#114). Since the ticket was closed by a bot and we can’t reopen it, I've created this new one. Can we please address the warnings? The logs are currently getting spammed:

Click to see the logs
  2024-10-03 09:03:23 Spatie\EventSourcing\StoredEvents\HandleStoredEventJob  RUNNING
  2024-10-03 09:03:24 Spatie\EventSourcing\StoredEvents\HandleStoredEventJob  130.51ms DONE
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$graceTimeInMinutes is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 121
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\CallbackEvent::$graceTimeInMinutes is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 121
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:24] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
  2024-10-03 09:03:24 Spatie\EventSourcing\StoredEvents\HandleStoredEventJob  RUNNING
  2024-10-03 09:03:24 Spatie\EventSourcing\StoredEvents\HandleStoredEventJob  209.28ms DONE
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$graceTimeInMinutes is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 121
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\CallbackEvent::$graceTimeInMinutes is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 121
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
  2024-10-03 09:03:25 Spatie\EventSourcing\StoredEvents\HandleStoredEventJob  RUNNING
  2024-10-03 09:03:25 Spatie\EventSourcing\StoredEvents\HandleStoredEventJob  187.50ms DONE
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$graceTimeInMinutes is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 121
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\CallbackEvent::$graceTimeInMinutes is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 121
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
[2024-10-03 09:03:25] local.WARNING: Creation of dynamic property Illuminate\Console\Scheduling\Event::$doNotMonitor is deprecated in /var/www/html/vendor/spatie/laravel-schedule-monitor/src/ScheduleMonitorServiceProvider.php on line 127
@sc85
Copy link

sc85 commented Oct 14, 2024

I agree that the logs get spammed a lot.

The PR #114 looks promising to fix this.
@freekmurze Can you maybe have a look?

@nastoychev
Copy link

@freekmurze please let us know if we can be of any assistance…

@sunscreem
Copy link

I've just spotted this issue myself. I was trying out laravel pail and it started showing these same warnings. The only showed in my laravel.log when I changed the LOG_DEPRECATIONS_CHANNEL to single in my .env fyi.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants