See Config
At first, you can see peak memory usage and memory limit in footer
For too large files there is max_log_size
setting in config. It will exclude files larger than supplied value in bytes
If you do not want to exclude big files but have Allowed memory size of n bytes exhausted
error than use chunked_size_threshold
setting. It allows to read files larger than supplied value in bytes via generators internally using SplFileObject::fgets calls
If log-viewer works too slow after applying chunked_size_threshold
than consider increasing php.ini memory_limit
TLDR; You would balance between CPU and memory consumption
Also, you can include or exclude log files in pattern
.prefix
using glob syntax (not regex):
'pattern' => [
'prefix' => '{laravel,service-guzzle}-',
'date' => Filesystem::PATTERN_DATE, // '[0-9][0-9][0-9][0-9]-[0-9][0-9]-[0-9][0-9]'
'extension' => Filesystem::PATTERN_EXTENSION, // '.log'
],