Merge pull request 'Added r clone ftp log file' (#1506) from ranjith-dev into master
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
All checks were successful
Scan for leaked secrets using Kingfisher / kingfisher-secrets-scan (push) Successful in 26s
Reviewed-on: #1506
This commit was merged in pull request #1506.
This commit is contained in:
@@ -27,5 +27,9 @@ class LogClear extends Command
|
|||||||
{
|
{
|
||||||
file_put_contents(storage_path('logs/laravel.log'), '');
|
file_put_contents(storage_path('logs/laravel.log'), '');
|
||||||
$this->info('Laravel log cleared!');
|
$this->info('Laravel log cleared!');
|
||||||
|
|
||||||
|
file_put_contents(storage_path('logs/rclone-ftp.log'), '');
|
||||||
|
$this->info('FTP log cleared!');
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user