If you want to add more directories or more log files to the default monolog configuration, you can do it by
changing the finder configuration fd_log_viewer.log_files.monolog.finder
:
# config/packages/fd_log_viewer.yaml
fd_log_viewer:
log_files:
monolog:
finder:
in: "directory1,directory2,directory3"
name: "*.log,*.txt"
This specifies the finder->in(...)
parameter for which directories will be scanned.
Examples:
"%kernel.logs_dir%"
- this is the default value, only files in thevar/log
directory will be scanned."%kernel.logs_dir%/**/
- this will scan all subdirectories of thevar/log
directory."%kernel.logs_dir%/*/log/"
- this will scan all subdirectories of thevar/log
directory that have alog
sub-subdirectory.
This specifies the finder->name(...)
parameter for which files will be scanned.