feat: add dedicated deploy logging to storage/logs/deploy.log

- Add 'deploy' channel in logging.php
- Instrument DeployTask with phpLog() for all state transitions
- Instrument DeploySiteAction with channel('deploy') for triggers, errors, clears
- Logs written to storage/logs/deploy.log (separate from laravel.log)
This commit is contained in:
F4ilji
2026-07-02 00:57:57 +05:00
parent 8715179ffa
commit 09bba25993
3 changed files with 197 additions and 97 deletions
+7
View File
@@ -118,6 +118,13 @@ return [
'replace_placeholders' => true,
],
'deploy' => [
'driver' => 'single',
'path' => storage_path('logs/deploy.log'),
'level' => 'info',
'replace_placeholders' => true,
],
'null' => [
'driver' => 'monolog',
'handler' => NullHandler::class,