Is it possible to log to /var/log/syslog? #1534
-
I increased the frequency of backups on a staging server to test before moving it to production. The server was being backed up at daily at
Looking in S3, my backups were showing up maybe 3 min after The task I then checked the Is there a logging option that I can configure for the backups independently from the site? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Use $schedule->command('backup:clean')->hourly()->appendOutputTo(base_path('storage/backup/log.txt'));
$schedule->command('backup:run')->hourly()->appendOutputTo(base_path('storage/backup/log.txt')); Or a custom notifications to logger |
Beta Was this translation helpful? Give feedback.
-
Thanks, @erikn69 I actually wrote a wrapper command that worked as expected. Thanks, for the suggestions! I was also having issues because |
Beta Was this translation helpful? Give feedback.
Use
appendOutputTo()
Or a custom notifications to logger