Skip to content

Expand Laravel log file detection to support flexible filenames#500

Merged
arukompas merged 2 commits intomainfrom
feature/flexible-laravel-log-detection
Feb 28, 2026
Merged

Expand Laravel log file detection to support flexible filenames#500
arukompas merged 2 commits intomainfrom
feature/flexible-laravel-log-detection

Conversation

@arukompas
Copy link
Copy Markdown
Contributor

Summary

  • Updates isPossiblyLaravelLogFile() regex to match any laravel-*.log pattern
  • Enables detection of custom channel logs like laravel-mychannel.log, laravel-errors.log, etc.
  • Adds comprehensive unit tests for LogTypeRegistrar

Test plan

  • Run vendor/bin/pest tests/Unit/LogTypeRegistrarTest.php - all 12 tests pass
  • Run full test suite - all 319 tests pass

@arukompas arukompas self-assigned this Jan 16, 2026
Update isPossiblyLaravelLogFile() regex to match any laravel-*.log pattern,
enabling detection of custom channel logs like laravel-mychannel.log
@arukompas arukompas force-pushed the feature/flexible-laravel-log-detection branch 2 times, most recently from ad45089 to 98fa660 Compare February 28, 2026 06:40
@arukompas arukompas force-pushed the feature/flexible-laravel-log-detection branch from 98fa660 to f2bb537 Compare February 28, 2026 06:49
@arukompas arukompas merged commit a1bd968 into main Feb 28, 2026
26 checks passed
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

Successfully merging this pull request may close these issues.

1 participant